Rev 1869 | Rev 1887 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1869 | Rev 1874 | ||
---|---|---|---|
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 0 |
19 | #define DIGITAL_DEBUG_INVERT 1 |
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));} |