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.
This commit is contained in:
Jason Becht 2013-02-06 18:43:42 -06:00
parent 84e464def4
commit 49f22eae21
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}