void setupLED(){ pinMode(blueLED, OUTPUT); pinMode(redLED, OUTPUT); pinMode (greenLED, OUTPUT); pinMode (irLED, OUTPUT); LEDsOff(); }
void StatusBlinkRed(uint8_t count) { uint8_t i; LEDsOff(); for (i = 0; i < count; i++) { SetLED(0, 128, 0, 0); UpdateLEDs(); _delay_ms(10); SetLED(0, 0, 0, 0); UpdateLEDs(); _delay_ms(30); } }