16,7 → 16,7 |
#define J5TOGGLE PORTD ^= (1<<PORTD3) |
|
// invert means: An "1" bit in digital debug data make a LOW on the output. |
#define DIGITAL_DEBUG_INVERT 1 |
#define DIGITAL_DEBUG_INVERT 0 |
|
#define OUTPUT_HIGH(num) {PORTC |= (4 << (num));} |
#define OUTPUT_LOW(num) {PORTC &= ~(4 << (num));} |
63,9 → 63,14 |
* Set to 0 for using outputs as the usual flashing lights. |
* Set to one of the DEBUG_... defines h for using the outputs as debug lights. |
*/ |
#define DIGITAL_DEBUG_MASK DEBUG_MAINLOOP_TIMER |
#define DIGITAL_DEBUG_MASK DEBUG_CLIP |
|
void output_init(void); |
void output_update(void); |
void beep(uint16_t millis); |
void beepNumber(uint8_t numbeeps); |
void beepRCAlarm(void); |
void beepI2CAlarm(void); |
void beepBatteryAlarm(void); |
|
#endif //_output_H |