pxt-calliope/docs/device/error-codes.md

18 lines
536 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# Error codes
2016-06-02 06:19:16 +02:00
The micro:bit error codes
2016-03-26 00:47:20 +01:00
Your micro:bit may encounter a situation that prevents it from running your code. When this happens, a frowny face will appear on your micro:bit screen (see picture) followed by an error number.
Below is a list of error numbers and what they mean:
* **10** (`MICROBIT_I2C_LOCKUP`): the micro:bit's I2C bus is not working
* **20** (`MICROBIT_OOM`): there is no free memory on the micro:bit
![](/static/mb/device/error-codes-0.png)
### See also
2016-04-13 17:27:45 +02:00
[Run scripts on your micro:bit](/device/usb)
2016-03-26 00:47:20 +01:00