Merge pull request #16 from RWSDev/master
Updated led_remote example to use correct var on line 172
This commit is contained in:
commit
8eaad77b2c
|
@ -169,7 +169,7 @@ void setup(void)
|
||||||
int i = num_led_pins;
|
int i = num_led_pins;
|
||||||
while(i--)
|
while(i--)
|
||||||
{
|
{
|
||||||
pinMode(button_pins[i],OUTPUT);
|
pinMode(led_pins[i],OUTPUT);
|
||||||
led_states[i] = HIGH;
|
led_states[i] = HIGH;
|
||||||
digitalWrite(led_pins[i],led_states[i]);
|
digitalWrite(led_pins[i],led_states[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue