microsoft/pxt-adafruit

"crickit run motor" causes "PANIC! 108"

Closed this issue · 6 comments

darzu commented

Describe the bug
Using "cricket run motor" block causes the editor to error out with Code 108.

To Reproduce

  1. Open: https://makecode.com/_3rF5Yz6oh6Ka
  2. Notice the panic

Expected behavior
Don't panic.

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS 10.14.3 (18D109)
  • Browser Safari Version 12.0.3 (14606.4.5)
  • MacBook Pro 2018, i9, 32GB
darzu commented

Does that mean no cricket programs work in the simulator?

darzu commented

Some sort of "sorry, this code can't run in the simulator" error might be nice.
But shouldn't we be able to run the rest of the code (e.g. if there are some neopixel animations) regardless?

IMO we should silently ignore the failure. Or maybe blink the D13 LED.

This issue belongs to the https://github.com/Adafruit/pxt-crickit repo.