pxt-calliope/docs/reference/led.md

23 lines
758 B
Markdown
Raw Permalink Normal View History

2016-04-05 22:23:42 +02:00
# Led
2016-05-05 20:16:14 +02:00
Control of the LED screen.
2016-04-05 22:23:42 +02:00
```cards
led.plot(0, 0);
led.unplot(0, 0);
led.point(0, 0);
2016-08-29 23:49:51 +02:00
led.toggle(0, 0);
2016-04-05 22:23:42 +02:00
led.brightness();
led.plotBrightness(0, 0, 255)
2016-04-05 22:23:42 +02:00
led.setBrightness(255);
led.stopAnimation();
2016-05-05 20:16:14 +02:00
led.plotBarGraph(0, 0);
led.setDisplayMode(DisplayMode.BlackAndWhite);
led.enable(false)
2016-04-05 22:23:42 +02:00
```
2016-08-08 22:08:15 +02:00
## See Also
2016-08-08 22:08:15 +02:00
[plot](/reference/led/plot), [unplot](/reference/led/unplot), [point](/reference/led/point), [brightness](/reference/led/brightness), [setBrightness](/reference/led/set-brightness), [stopAnimation](/reference/led/stop-animation), [plotBarGraph](/reference/led/plot-bar-graph), [toggle](/reference/led/toggle), [setDisplayMode](/reference/led/set-display-mode), [enabled](/reference/led/enable),
[plotBrightness](/reference/led/plot-brightness),