updated some lessons

This commit is contained in:
Peli de Halleux
2016-06-01 21:13:30 -07:00
parent 0d90aec229
commit d54aa41fc9
5 changed files with 11 additions and 32 deletions

View File

@ -18,12 +18,12 @@ Learn how to **show LEDs** to turn on a LED light pattern on the LED screen. We
## Documentation
```cards
basic.forever(() => {
radio.sendNumber(input.acceleration(Dimension.Strength) - 1023);
});
radio.onDataReceived(() => {
led.plotBarGraph(radio.receiveNumber(), 0);
});
basic.forever(() => {});
radio.sendNumber(0);
input.acceleration(Dimension.Strength)
radio.onDataReceived(() => {});
led.plotBarGraph(0, 0);
radio.receiveNumber();
```
## Objectives