Microbit Python Simulator is a simulator for the microbit written in python. It provides a simple interface to interact the microbit programs without the need to flash a microbit.
- Documentation: https://microbit-micropython.readthedocs.io/en/v1.1.1/index.html
- Downloads page: https://github.com/BergLucas/microbit-python-simulator/releases
- radio
- Image
- display
- buttons
- accelerometer
- sleep
- running_time
- reset
- panic
- temperature
- pins
- compass
- i2c
- uart
- spi
There may be bugs or differences with the real microbit. Feel free to report them in the issues section.
The application requires:
There is only one way to download and install the application at the moment:
pip install git+https://github.com/BergLucas/microbit-python-simulator
This example allows you to display "Hello, World!"
on the microbit:
import microbit
microbit.display.scroll("Hello, World!")
All code is licensed for others under a MIT license (see LICENSE).