adafruit/pxt-crickit

"crickit run motor" causes "PANIC! 108"

Opened this issue · 2 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 Chrome 72
  • MacBook Pro 2018, i9, 32GB

@TheKitty please reply and update docs

darzu commented

From @pelikhan : "Adafruit designed the library so that it fails hard if the i2c handshake fails. We should probably make it fail silently.", "IMO we should silently ignore the failure. Or maybe blink the D13 LED."

moved from: microsoft/pxt-adafruit#950