Closed ace-dent closed 1 year ago
When lib/thumby.py imports thumbyHardware.py, it exposes reset (here). This is useful, as it makes machine.reset available as thumby.reset.
lib/thumby.py
thumbyHardware.py
reset
machine.reset
thumby.reset
BUT lib-emulator/thumby.py (emulator version) does not import reset (here). This causes issues when running some code in the emulator vs on device.
lib-emulator/thumby.py
Added reset to the emulator's imports. Thanks.
When
lib/thumby.py
importsthumbyHardware.py
, it exposesreset
(here). This is useful, as it makesmachine.reset
available asthumby.reset
.BUT
lib-emulator/thumby.py
(emulator version) does not importreset
(here). This causes issues when running some code in the emulator vs on device.