pxt-calliope/docs/reference/led.md
Juri Wolf 5f7a8e5301
Updates for V4 (#197)
* update yotta defaults for 16kb devices

* refactor deprecated blocks

* updates for button events

* update button events

* update refference

* update docs

* update docs

* update button event blocks

* update docs

* update block id
2022-08-10 09:36:19 -07:00

757 B

Led

Control of the LED screen.

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.BlackAndWhite);
led.enable(false)

See Also

plot, unplot, point, brightness, setBrightness, stopAnimation, plotBarGraph, toggle, setDisplayMode, enabled, plotBrightness