Open this page at https://pelikhan.github.io/microbit-screen-as-a-line/
Usage
plotAt
Use the plotAt
block to render LEDs at a index location.
for(let i = 0; i < 25; ++i) {
screenMagic.plotAt(i)
basic.pause(500)
}
Use as Extension
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/pelikhan/microbit-screen-as-a-line and import
Edit this project
To edit this repository in MakeCode.
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/pelikhan/microbit-screen-as-a-line and click import
Metadata (used for search, rendering)
- for PXT/microbit