adafruit / pxt-crickit

pxt package for crickit platform - beta
MIT License
8 stars 4 forks source link

"crickit run motor" causes "PANIC! 108" #14

Open darzu opened 5 years ago

darzu commented 5 years ago

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):

ladyada commented 5 years ago

@TheKitty please reply and update docs

darzu commented 5 years ago

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: https://github.com/Microsoft/pxt-adafruit/issues/950