A Pure Python IDE For The BBC Micro:Bit
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
micropi
scripts
.gitignore
.travis.yml
LICENSE
README.md
install.sh
requirements.txt
setup.py
uninstall.sh

README.md

Build Status ##Summary Micro:Pi is a pure python IDE (Intergrated Development Enviroment) designed to run on any system with python. It has a simple interface and contains a whole box of tricks such as the serial monitor and image sender/reciver.

##Why use Micro:Pi over alternatives? Micro:Pi can run entirely offline if you want to. It downloads all of its dependancys at install time and from that point on no internet connection is required. Micro:Pi also allows you to program your BBC Micro:Bit in C++ which is usually only avaliable through command line interfaces (which Micro:Pi does for you). It also comes with a built in serial monitor and it's entierly open source.

##Instalation To install Micro:Pi there is a new script bundled. Open a terminal in the root folder of Micro:Pi then type ./install.sh. It has to be run as root so sudo sh install.sh is recommended. Uninstalling in done by the uninstall.sh script and in run in the same way. If you want to install Micro:Pi without having to download it all first, download the install.sh file then run

sudo sh install.sh --online

and it should download and install.

If you are on a non linux system, download this repository from github then download and install the following:

Now you need to add the location where you installed yotta (C:\yotta by default) and the \bin directory of you gcc-arm-none-eabi installation to your global path. Instructions for adding to you path can be found at http://yottadocs.mbed.com/#windows-path. If you want you can also remove the "Run Yotta" shortcut from your desktop as you don't need it.

You can then start micropi using

cd micropi
python micropi.py

An install script for windows is planned by is made hard because windows doesn't have a package manager.

##Features

  • In the top left corner are 4 triangles that indicate the statud of you Micro:Bit. It goes green if your Micro:Bit is found, orange if it's uploading, and red is if Micro:Pi can't find you Micro:Bit.
  • Just underneath the 4 triangles, is your tab view. This allows you to create multiple files in your project.
  • The large white box in the top half of the screen is your text editor. This is where you write your code to put on your Micro:Bit
  • Just under that, is where you can find your console. This shows the output of the build and upload process. Errors will appear here.
  • In the deploy menu, you can find the serial monitor. From here you can send and recieve text from your BBC Micro:Bit.

##Contribute I don't have a PayPal or anything similar but the best way you can contribute is by just letting people know about Micro:Pi and getting it out.

##Thanks To:

  • The MBED team for developing yotta and alot of the build process
  • Lancaster University for the microbit-dal runtime that this entire project is built upon
  • Joe Finney from Lancaster Uni. for helping me when I was facing problems settings up yotta on my pi
  • The entire Raspberry Pi Forums community for answering all my questions

The words "BBC" and "Micro:Bit" and the BBC Micro:Bit logo are all trademarks of the BBC and I lay no claim to them.