172,7 → 172,7 |
#define ATMEGA644P 1 |
#define SYSCLK F_CPU |
|
// Not really a part of configuration, but heck, LEDs and beepers now have a home. |
// Not really a part of configuration, but LEDs and HW version test are the same. |
#define RED_OFF {if((BoardRelease == 10) || (BoardRelease == 20)) PORTB &=~(1<<PORTB0); else PORTB |= (1<<PORTB0);} |
#define RED_ON {if((BoardRelease == 10) || (BoardRelease == 20)) PORTB |= (1<<PORTB0); else PORTB &=~(1<<PORTB0);} |
#define RED_FLASH PORTB ^= (1<<PORTB0) |
195,11 → 195,4 |
uint8_t getCPUType(void); |
uint8_t getBoardRelease(void); |
|
// Not really a part of configuration, but heck, LEDs and beepers now have a home. |
void beep(uint16_t millis); |
void beepNumber(uint8_t numbeeps); |
void beepRCAlarm(void); |
void beepI2CAlarm(void); |
void beepBatteryAlarm(void); |
|
#endif // _CONFIGURATION_H |