avatar for flashing heart
This commit is contained in:
parent
ebea6b29f3
commit
b5afe25387
@ -26,8 +26,8 @@ input.onButtonPressed(Button.B, () => {
|
|||||||
|
|
||||||
* **[getting started](/getting-started)**
|
* **[getting started](/getting-started)**
|
||||||
* Get started with [projects](/projects)
|
* Get started with [projects](/projects)
|
||||||
* Learn more about the [device](/device)
|
|
||||||
* Browse the [API reference](/reference)
|
* Browse the [API reference](/reference)
|
||||||
|
* Learn more about the [device](/device)
|
||||||
* Frequently Asked Question [faq](/faq)
|
* Frequently Asked Question [faq](/faq)
|
||||||
* Follow up with the [release notes](/release-notes)
|
* Follow up with the [release notes](/release-notes)
|
||||||
|
|
||||||
|
@ -2,7 +2,28 @@
|
|||||||
|
|
||||||
![](/static/mb/projects/a1-display.png)
|
![](/static/mb/projects/a1-display.png)
|
||||||
|
|
||||||
Use the LEDs to display a flashing heart.
|
### ~avatar avatar
|
||||||
|
|
||||||
|
```sim
|
||||||
|
basic.forever(() => {
|
||||||
|
basic.showLeds(`
|
||||||
|
. # . # .
|
||||||
|
# # # # #
|
||||||
|
# # # # #
|
||||||
|
. # # # .
|
||||||
|
. . # . .`);
|
||||||
|
basic.pause(500);
|
||||||
|
basic.clearScreen();
|
||||||
|
basic.pause(500);
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
Use the LEDs to display a flashing heart, and then create
|
||||||
|
an animation of a broken heart. :(
|
||||||
|
|
||||||
|
## [START PROJECT](/#follow:/projects/flashing-heart)
|
||||||
|
|
||||||
|
### ~
|
||||||
|
|
||||||
## Step 1
|
## Step 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user