pxt-calliope/docs/reference/led.md
Galen Nickel ce7ff4b7a6 Add some linking for hw vids (#1813)
* add linking for hw vids, fix card pages

* revert vid card page and inline youtube links
2019-02-08 13:48:49 -08:00

23 lines
757 B
Markdown

# Led
Control of the LED screen.
```cards
led.plot(0, 0);
led.unplot(0, 0);
led.point(0, 0);
led.toggle(0, 0);
led.brightness();
led.plotBrightness(0, 0, 255)
led.setBrightness(255);
led.stopAnimation();
led.plotBarGraph(0, 0);
led.setDisplayMode(DisplayMode.BackAndWhite);
led.enable(false)
```
## See Also
[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),