avatar for flashing heart

This commit is contained in:
Tom Ball 2016-06-14 12:11:29 -04:00
parent ebea6b29f3
commit b5afe25387
2 changed files with 23 additions and 2 deletions

View File

@ -26,8 +26,8 @@ input.onButtonPressed(Button.B, () => {
* **[getting started](/getting-started)**
* Get started with [projects](/projects)
* Learn more about the [device](/device)
* Browse the [API reference](/reference)
* Learn more about the [device](/device)
* Frequently Asked Question [faq](/faq)
* Follow up with the [release notes](/release-notes)

View File

@ -2,7 +2,28 @@
![](/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