update seis
This commit is contained in:
parent
ce18ddbb70
commit
8f9ac35d70
@ -19,10 +19,11 @@ Learn how to **show LEDs** to turn on a LED light pattern on the LED screen. We
|
|||||||
|
|
||||||
```cards
|
```cards
|
||||||
basic.forever(() => {
|
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
|
## Objectives
|
||||||
|
Loading…
Reference in New Issue
Block a user