pxt-calliope/docs/examples/plot-acceleration.md
Galen Nickel 6398d60b3b
Add info to some examples ()
* Add info to some examples

* Push a few more descriptions

* Couple more

* Touch up card descriptions

* Fix 'drop' typo

* Live typo
2018-03-21 16:30:58 -07:00

197 B

Plot Acceleration

Plot acceleration in the x dimension on the LEDs.

basic.forever(() => {
    led.plotBarGraph(
        input.acceleration(Dimension.X),
        1023
    )
})