Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pelikhan/microbit-screen-as-a-line
A MakeCode project
https://github.com/pelikhan/microbit-screen-as-a-line
Last synced: 6 days ago
JSON representation
A MakeCode project
- Host: GitHub
- URL: https://github.com/pelikhan/microbit-screen-as-a-line
- Owner: pelikhan
- License: mit
- Created: 2020-05-12T16:02:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-12T16:20:04.000Z (over 4 years ago)
- Last Synced: 2024-11-13T04:49:06.721Z (2 months ago)
- Language: TypeScript
- Homepage: https://pelikhan.github.io/microbit-screen-as-a-line/
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Open this page at [https://pelikhan.github.io/microbit-screen-as-a-line/](https://pelikhan.github.io/microbit-screen-as-a-line/)
## Usage
### ``plotAt``
Use the ``plotAt`` block to render LEDs at a index location.
```blocks
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/](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 ![Build status badge](https://github.com/pelikhan/microbit-screen-as-a-line/workflows/MakeCode/badge.svg)
To edit this repository in MakeCode.
* open [https://makecode.microbit.org/](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
makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");