correct bug with LCD demo

This commit is contained in:
Matthew Connelly 2018-07-19 14:46:12 +01:00
parent 766a9c7d1c
commit 0983d2c010
1 changed files with 3 additions and 7 deletions

10
main.py
View File

@ -43,10 +43,6 @@ sleep_ms(800)
from fonts import terminal from fonts import terminal
from network import WLAN as wlan, STA_IF as staif from network import WLAN as wlan, STA_IF as staif
print(hw.family) tft.text((4,6),hw.family,tft.BLACK,terminal.data)
print(hw.variant) tft.text((4,16),hw.variant,tft.BLACK,terminal.data)
print(wlan(staif).ifconfig()[0]) tft.text((4,26),wlan(staif).ifconfig()[0],tft.BLACK,terminal.data)
tft.text((4,4),hw.family,terminal.data)
tft.text((4,14),hw.variant,terminal.data)
tft.text((4,24),wlan(staif).ifconfig()[0],terminal.data)