Closed caternuson closed 5 years ago
ill take anything cause current code isnt working at all :D
Sure. Was this suppose to be any fancier than just "clear screen and show QR code"?
its pretty simple, yeah
Generally works. This:
Adafruit CircuitPython 4.0.0-rc.1 on 2019-04-23; Adafruit PyPortal with samd51j20
>>> from adafruit_pyportal import PyPortal
>>> pp = PyPortal()
ESP firmware: bytearray(b'1.2.2\x00')
Set background to 0
No SD card found: no SD card
>>> pp.show_QR(b'hello world', 8, 20, 20)
gives this: which was tested here: https://zxing.org/w/decode.jspx and spit back expected result:
Note weird border quirk might be related to this: https://github.com/adafruit/circuitpython/issues/1839
fine by me!
@ladyada want me to version bump this?
yes plz!
Done! Bumped major ver since the function call changed.
amazing, thank you thank you carter :)
Just an idea for #30