Skip to content

Commit 209c0f3

Browse files
committed
update examples for breaking change within send_location_data method, bump version
1 parent e68de95 commit 209c0f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Adafruit_IO/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.17"
1+
__version__ = "2.0.18"

examples/api/location.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
ele = 6 # elevation above sea level (meters)
3434

3535
# Send location data to Adafruit IO
36-
aio.send_location_data(location.key, value, lat, lon, ele)
36+
aio.send_location_data(location.key, lat, lon, ele, value)

examples/basics/location.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
print('\tLon: ', lon)
5050
print('\tEle: ', ele)
5151
# Send location data to Adafruit IO
52-
aio.send_location_data(location.key, value, lat, lon, ele)
52+
aio.send_location_data(location.key, lat, lon, ele, value)
5353
# shift all values (for test/demo purposes)
5454
value += 1
5555
lat -= 0.01

0 commit comments

Comments
 (0)