Языки программирования для микробит
C/C++
- C/C++ runtime - Guidance on how to start using the runtime in C/C++ including full documentation of the APIs, drivers, and types that make up the micro:bit runtime. Bluetooth documentation includes a link to the original
*.hex
file that ships on the micro:bit devices. - Arduino nRF5 - Arduino Core for Nordic Semiconductor nRF5 based boards, including the micro:bit.
C/C++ Editors
- Micro:Pi - C/C++ editor for the micro:bit with serial monitor and deploy functionality. Written in Python with an installer (ATM Linux only, but could be manually installed in any OS) that includes all dependencies.
- PlatformIO - Embedded IDE with support for the micro:bit using the Arduino or Mbed software stack.
C/C++ Libraries
- OneWire - BBC micro:bit OneWire Library, based upon Erik Olieman's Mbed DS1820 lib.
- neopixel - Library for using NeoPixels with the BBC micro:bit.
- micro:bit Screen - Arduino LED Screen library for micro:bit.
- Adafruit Arduino micro:bit library - Wrapper code and examples for using micro:bit with Arduino IDE.
- RTCC MCP7941X - Program to interface BBC micro:bit to a MCP79410 RTCC (Real Time Clock Calendar) module.
- AS-289R2 - AS-289R2 thermal printer Mbed library for micro:bit.
- SHT2X - Driver for SHT20, SHT21, SHT25 digital sensor, enabling the the micro:bit to obtain temperature and relative humidity from these sensors.
- VL53L0X - Driver for the VL53L0X Time-of-Flight ranging sensor.
- KY-040 - Library for using the KY-040 rotary encoder.
- PCA9685 - Driver for the PCA9685, a 16-channel PWM controller, with included servo support.
- DS3234 - Driver in example project using the DS3234 RTC via SPI.
- HTU21D - Mbed library for the HTU21D digital humidity and temperature sensor.
Other micro:bit Languages
Other programming languages capable to program the micro:bit.
- Rust - Article describing the experience and steps of compiling Rust code for the micro:bit with and without interaction with the runtime DAL.
- Forth - Forth, a stack-based language, for the BBC micro:bit.
- Pascal - Free Pascal compiler that can target the ARM embedded platform, including the micro:bit.
- Ada - Instruction on how to setup the Ada development environment for the micro:bit.
- Sniff - Sniff is a "Scratch-like" programming language that's designed to help Scratchers move gently from Scratch to more conventional languages.
- uLisp - A Lisp interpreter for the classic AI programming language for the BBC micro:bit.
- C# / F# - IL2C is a translator implementation of .NET intermediate language to C language, with C# and F# examples for the micro:bit.
- TinyGo - (examples) Project to bring Go to microcontrollers and small systems, with out-of-box support for the BBC micro:bit.
- Tiny BASIC - Port for the micro:bit, including commands to use the on-board features, based on the Arduino port of the Tiny BASIC dialect.
Other Interaction Languages
These languages do not program the micro:bit directly, but can be used to create programs that interface with a micro:bit.
- Kodu Controller - Enables interacting with the micro:bit from Kodu Game Lab.
- Simulink Coder Support Package - Package that enables you to create Matlab and Simulink models and automatically generate and deploy code on the micro:bit.
- micro:bit for Dyalog APL on the Pi - Tools for using the micro:bit (via MicroPython serial connection) with the Dyalog APL programming language on the Raspberry Pi.
- Gobot - Framework for the Go programming language to program devices in the real world. It can access the micro:bit via Bluetooth LE.
- Microbit-Unity - Unity scripts to allow the BBC micro:bit to be used as a Unity Controller.
- Haxe node BBC micro:bit - Control a BBC micro:bit from Node.js using BLE and the Haxe programming language.
- App Inventor + IoT - Control a micro:bit via Bluetooth with App Inventor, a visual programming environment for Android applications.
- BlockyTalkyBLE - MakeCode and App Inventor extension that makes it easy to connect AppInventor mobile phone apps with the BBC micro:bit wirelessly over Bluetooth.
- DroidScript micro:bit Plugin - Allows you you to control the BBC micro:bit remotely from your own DroidScript apps (Android apps written in JavaScript).
- CBMicroBit - CoreBluetooth wrapper in C++ that connects a micro:bit to a computer running macOS using BLE and outputs over OSC (can be used standalone, or as a C++ or Objective C library).
- Swift - An application programming interface written in Swift for use with the micro:bit. It allows programs written for Apple devices to communicate with the micro:bit using BLE.
- Node-RED - A node-red (flow-based visual programming) module that wraps some of the functionality of the Python/MicroPython Bitio Library.