pxt-calliope/docs/reference/led.md
Sam El-Husseini e3975e65e5 pxt-microbit Accessibility PR ()
* Accessibility changes
2017-09-07 13:42:08 -07:00

1023 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.fadeIn();
led.fadeOut();
led.plotAll();
led.screenshot();
led.toggleAll();
led.setDisplayMode(DisplayMode.BackAndWhite);
led.enable(false)

See Also

plot, unplot, point, brightness, setBrightness, stopAnimation, plotBarGraph, fadeIn, fadeOut, plotAll, screenshot, toggle, toggleAll, setDisplayMode, enabled, plotBrightness,