update seis

This commit is contained in:
Michael Elliot Braun 2016-05-12 08:49:25 -07:00
parent ce18ddbb70
commit 8f9ac35d70
1 changed files with 4 additions and 3 deletions

View File

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