Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.44 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.44 KB

Microbit Python Simulator

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.

Features

  • radio
  • Image
  • display
  • buttons
  • accelerometer
  • sleep
  • running_time
  • reset
  • panic
  • temperature
  • pins
  • compass
  • i2c
  • uart
  • spi

Notes

There may be bugs or differences with the real microbit. Feel free to report them in the issues section.

Requirements

The application requires:

Download & Installation

There is only one way to download and install the application at the moment:

pip install git+https://github.com/BergLucas/microbit-python-simulator

Example

This example allows you to display "Hello, World!" on the microbit:

import microbit

microbit.display.scroll("Hello, World!")

License

All code is licensed for others under a MIT license (see LICENSE).