We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b6fb0 commit a6e38e9Copy full SHA for a6e38e9
java/libraries/io/examples/LedCounter/LedCounter.pde
@@ -22,9 +22,9 @@ void draw() {
22
// make the LEDs count in binary
23
for (int i=0; i < leds.length; i++) {
24
if ((frameCount & (1 << i)) != 0) {
25
- leds[i].set(1.0);
+ leds[i].brightness(1.0);
26
} else {
27
- leds[i].set(0.0);
+ leds[i].brightness(0.0);
28
}
29
30
println(frameCount);
0 commit comments