Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.82 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.82 KB

Knowledge Base Micro:bit and Maqueen

A central place for projects, ideas, learnings, code snippets, and experiments with Micro:bit and Maqueen. Unless stated otherwise, all projects are developed within the Micro:bit Python editor.

Featured Projects

Maqueen RC Car

Maqueen RC Car Demo
➡️ Check out the project source.

Health Points

Health Points Demo
➡️ Check out the project source.

Jukebox

Jukebox Demo
➡️ Check out the project source.

MakeCode Editor

  • https://makecode.microbit.org/#editor
  • In the background: transpiled to JavaScript
  • Switch between block language, JS, and Python
  • To use with Maqueen: Settings -> Extensions -> DFRobot_MaqueenPlus_v20
  • Import / export: .hex files, which can also be flashed to Micro:bit
  • Login with Microsoft to save projects

Python editor

Maqueen library

https://gbsl-informatik.github.io/maqueen-plus-v2-mpy/docs/

Learnings

Program size limitation

There is a limit to how large a Micro:bit program can be. Once a program exceeds tha limit, the Python editor will fail when trying to download the .hex file. This was for example the case in the maqueen-rc-car project, where I ended up having to remove parts of the maqueen library to reduce the code size.