lauantai 5. marraskuuta 2016

How to get Mu-editor for micro:bit up and running on Ubuntu Linux

Mu is an offline editor (64-bit only!) you can run on Windows, macOS and Linux. With Mu you can write code for micro:bit embedded system, compile the code and pass it to micro:bit.

Ubuntu Linux can, among other Linux distributions, run Mu. To make your Ubuntu do that follow the instructions below:

  • download the latest Mu here:
    • my version is mu-0.9.12.linux.bin
      • one file with an extension .bin - that's all you need!
  • next type in the following commands:
    • cd the_folder_where_mu_was_downloaded
    • chmod + x mu-0.9.12.linux.bin
      • make .bin executable
    • sudo usermod -a -G dialout username
      • use your own username instead of username
  • finally, fire up Mu:
    • ./mu-0.9.12.linux.bin
When Mu is up and running you can start coding! Try the code below, then click Flash. Make sure your micro:bit is attached. Enjoy!

1 kommentti:

  1. If that doesn't work, try this post