Open this page at https://pelikhan.github.io/microbit-screen-as-a-line/
Use the plotAt
block to render LEDs at a index location.
for(let i = 0; i < 25; ++i) {
screenMagic.plotAt(i)
basic.pause(500)
}
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
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
- for PXT/microbit