Open-STEM / XRPCode

This is the repository for the full Python/Blockly IDE
GNU General Public License v3.0
0 stars 3 forks source link

Put up Alert if power switch is not on when "Execute Code" #33

Closed fgrossman closed 1 year ago

fgrossman commented 1 year ago

The USB cable powers the Pico W, so you can program and save files. But the main power switch needs to be on in order for the motors to work.

There is a XRPLib function to determine if the power switch is on. The IDE should test that and put up an alert if the user has pressed the "Execute Code" button but the power switch is not on.

fgrossman commented 1 year ago

This was also fixed with during the push labeled fix for issues https://github.com/Open-STEM/FullIDE/issues/52, https://github.com/Open-STEM/FullIDE/issues/51