TinyCircuits / TinyCircuits-Thumby-Code-Editor

https://code.thumby.us/
GNU General Public License v3.0
30 stars 20 forks source link

Possible API Typo: Reset (emulator) #51

Closed ace-dent closed 1 year ago

ace-dent commented 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.

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.

masonova1 commented 1 year ago

Added reset to the emulator's imports. Thanks.