added missing pinMode for green and blue LEDs

pull/78/head
alanbjohnston 5 years ago committed by GitHub
parent 41179de447
commit a27383dd61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,6 +76,8 @@ void setup() {
Serial.println(((float)eeprom_word_read(2)) / 100.0, DEC);
Serial.println(((float)eeprom_word_read(3)) / 100.0, DEC);
}
pinMode(greenLED, OUTPUT);
pinMode(blueLED, OUTPUT);
}
void loop() {
@ -261,6 +263,6 @@ void blink(int length)
#if defined __AVR_ATmega32U4__
digitalWrite(RXLED, HIGH); // set the RX LED OFF
TXLED0; //TX LED is not tied to a normally controlled pin so a macro is needed, turn LED OFF
TXLED0; //TX LED macro to turn LED ON
#endif
}

Loading…
Cancel
Save

Powered by TurnKey Linux.