13 lines
197 B
Markdown
13 lines
197 B
Markdown
|
# Plot Acceleration
|
||
|
|
||
|
Plot acceleration in the ``x`` dimension on the LEDs.
|
||
|
|
||
|
```blocks
|
||
|
basic.forever(() => {
|
||
|
led.plotBarGraph(
|
||
|
input.acceleration(Dimension.X),
|
||
|
1023
|
||
|
)
|
||
|
})
|
||
|
```
|