pxt-calliope/docs/reference/led.md

21 lines
329 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
```