From 0a52df619c12c6e157a8249b3cc1649b7b75d4c7 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Fri, 6 Jan 2017 15:27:00 +0100 Subject: [PATCH] Correct variables --- weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weather.py b/weather.py index 2a665d6..0831820 100755 --- a/weather.py +++ b/weather.py @@ -22,7 +22,7 @@ sensor4 = "" # Please set your locale altitude # http://www.latlong.net/ Helps to find your Langitude and Latitude # http://www.mapcoordinates.net/ Helps to Find the Data in Meter -local_altitude = 570 +locale_altitude = 570 # Optionally you can override the bus number: @@ -37,7 +37,7 @@ local_altitude = 570 # getSeaLelvelPres # Sensor = BMP180 # Output = SeaPresFloat -SeaPresFlot = sensor1.read_sealevel_pressure(local_altitude) +SeaPresFlot = sensor1.read_sealevel_pressure(locale_altitude) # getTemp1() method # Sensor1 = BMP085