This makecode is aimed to be used with board-explorer https://github.com/storagebits/board-explorer , an experimental interactive board project. The makecode mainly waits for commands on the UART bluetooth and then execute an action.
In this exemple it drives a ring:bit module (https://www.elecfreaks.com/learn-en/microbitKit/ring_bit_v2/)
https://makecode.microbit.org/_frdR5xctm0Rt
This repository can be added as an extension in MakeCode.
- open https://makecode.microbit.org/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/storagebits/board-explorer-makecode and import
To edit this repository in MakeCode.
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/storagebits/board-explorer-makecode and click import
This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.
- for PXT/microbit