Skip to content

Microbit Python Simulator is a simulator for the microbit written in python.

License

Notifications You must be signed in to change notification settings

BergLucas/microbit-python-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Microbit Python Simulator is a simulator for the microbit written in python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages