From b5afe25387a159b403094b999bf15f985e4567e4 Mon Sep 17 00:00:00 2001 From: Tom Ball Date: Tue, 14 Jun 2016 12:11:29 -0400 Subject: [PATCH] avatar for flashing heart --- docs/docs.md | 2 +- docs/projects/flashing-heart.md | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/docs/docs.md b/docs/docs.md index 8168e707..2cf6caf0 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -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) diff --git a/docs/projects/flashing-heart.md b/docs/projects/flashing-heart.md index da4cbdf7..d4c54f50 100644 --- a/docs/projects/flashing-heart.md +++ b/docs/projects/flashing-heart.md @@ -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