Files
pxt-calliope/docs/examples/plot-light-level.md
2019-12-01 20:58:26 -08:00

173 B

Plot Light level

Show the current light level as a bar graph.

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