Revision a75b176a
Debug pin test
scout_avr/bom/bom.c | ||
---|---|---|
32 | 32 |
static void bom_init(void) { |
33 | 33 |
|
34 | 34 |
SET_BIT(DDRB, EMIT); |
35 |
SET_BIT(DDRB, PB1); |
|
35 | 36 |
|
36 | 37 |
init_detect(); |
37 | 38 |
|
... | ... | |
83 | 84 |
ISR(TIMER0_COMPA_vect) { |
84 | 85 |
|
85 | 86 |
char this_bit = READ_BIT(PINB, DETECT); |
87 |
SET_BIT(PINB, PB1); // TOGGLE THE PIN MOFOS |
|
86 | 88 |
smb_send_data((uint8_t*)&this_bit, 1); |
87 | 89 |
|
88 | 90 |
if (this_bit == 1) { |
Also available in: Unified diff