Rev 1874 | Rev 1908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1874 | Rev 1887 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | #define J5HIGH PORTD |= (1<<PORTD3) |
14 | #define J5HIGH PORTD |= (1<<PORTD3) |
15 | #define J5LOW PORTD &= ~(1<<PORTD3) |
15 | #define J5LOW PORTD &= ~(1<<PORTD3) |
16 | #define J5TOGGLE PORTD ^= (1<<PORTD3) |
16 | #define J5TOGGLE PORTD ^= (1<<PORTD3) |
Line 17... | Line 17... | ||
17 | 17 | ||
18 | // invert means: An "1" bit in digital debug data make a LOW on the output. |
18 | // invert means: An "1" bit in digital debug data make a LOW on the output. |
Line 19... | Line 19... | ||
19 | #define DIGITAL_DEBUG_INVERT 1 |
19 | #define DIGITAL_DEBUG_INVERT 0 |
20 | 20 | ||
21 | #define OUTPUT_HIGH(num) {PORTC |= (4 << (num));} |
21 | #define OUTPUT_HIGH(num) {PORTC |= (4 << (num));} |
22 | #define OUTPUT_LOW(num) {PORTC &= ~(4 << (num));} |
22 | #define OUTPUT_LOW(num) {PORTC &= ~(4 << (num));} |
Line 61... | Line 61... | ||
61 | 61 | ||
62 | /* |
62 | /* |
63 | * Set to 0 for using outputs as the usual flashing lights. |
63 | * Set to 0 for using outputs as the usual flashing lights. |
64 | * Set to one of the DEBUG_... defines h for using the outputs as debug lights. |
64 | * Set to one of the DEBUG_... defines h for using the outputs as debug lights. |
65 | */ |
65 | */ |
Line 66... | Line 66... | ||
66 | #define DIGITAL_DEBUG_MASK DEBUG_MAINLOOP_TIMER |
66 | #define DIGITAL_DEBUG_MASK DEBUG_CLIP |
67 | 67 | ||
- | 68 | void output_init(void); |
|
- | 69 | void output_update(void); |
|
- | 70 | void beep(uint16_t millis); |
|
- | 71 | void beepNumber(uint8_t numbeeps); |
|
- | 72 | void beepRCAlarm(void); |
|
Line 68... | Line 73... | ||
68 | void output_init(void); |
73 | void beepI2CAlarm(void); |