pxt-calliope/docs/reference/led.md

25 lines
891 B
Markdown
Raw 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);
led.brightness();
led.setBrightness(255);
led.stopAnimation();
2016-05-05 20:16:14 +02:00
led.plotBarGraph(0, 0);
2016-04-05 22:23:42 +02:00
led.fadeIn();
led.fadeOut();
led.plotAll();
led.screenshot();
led.toggle(0, 0);
led.toggleAll();
2016-04-05 22:54:48 +02:00
led.setDisplayMode(DisplayMode.BackAndWhite);
2016-04-05 22:23:42 +02:00
```
2016-08-08 22:08:15 +02:00
### See Also
2016-08-10 22:10:40 +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), [fadeIn](/reference/led/fade-in), [fadeOut](/reference/led/fade-out), [plotAll](/reference/led/plot-all), [screenshot](/reference/led/screenshot), [toggle](/reference/led/toggle), [toggleAll](/reference/led/toggle-all), [setDisplayMode](/reference/led/set-display-mode)