Commit 49f22eae authored by Jason Becht's avatar Jason Becht

Update examples/led_remote/led_remote.pde

Line 172 was using button_pins instead of led_pins.  This caused leds to be lit dim when set to HIGH.  Changed to correct var.
parent 84e464de
......@@ -169,7 +169,7 @@ void setup(void)
int i = num_led_pins;
while(i--)
{
pinMode(button_pins[i],OUTPUT);
pinMode(led_pins[i],OUTPUT);
led_states[i] = HIGH;
digitalWrite(led_pins[i],led_states[i]);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment