pxt-calliope/docs/examples/plot-light-level.md
Galen Nickel 6398d60b3b
Add info to some examples (#716)
* 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

173 B

Plot Light level

Show the current light level as a bar graph.

basic.forever(() => {
    led.plotBarGraph(
        input.lightLevel(),
        255
    )
})