Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 }}");