adafruit / Adafruit_CircuitPython_PyPortal

CircuitPython driver for Adafruit PyPortal.
MIT License
45 stars 56 forks source link

fix calls to displayio.TileGrid usage of position #15

Closed jerryneedell closed 5 years ago

jerryneedell commented 5 years ago

fixes #14

jerryneedell commented 5 years ago

tested by running eventcoundown example


Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 4.0.0-beta.3-38-g74083dafe on 2019-03-13; Adafruit PyPortal with samd51j20
>>> 
>>> 
>>> import eventcountdown
ESP firmware: bytearray(b'1.2.2\x00')
Set background to  /countdown_background.bmp
Getting time from internet!
Connecting to AP Needell Airport
Cound not connect to internet ('No such ssid', b'Needell Airport')
Retrying in 3 seconds...
Connecting to AP Needell Airport
Getting time for timezone America/New_York
struct_time(tm_year=2019, tm_mon=3, tm_mday=14, tm_hour=17, tm_min=19, tm_sec=29, tm_wday=4, tm_yday=73, tm_isdst=None)
Current time: struct_time(tm_year=2019, tm_mon=3, tm_mday=14, tm_hour=17, tm_min=19, tm_sec=29, tm_wday=3, tm_yday=73, tm_isdst=-1)
Time remaining (s): 2734831
31 days, 15 hours, 40 minutes and 31 seconds

also works on older release