12 #include "util/delay.h" |
12 #include "util/delay.h" |
13 |
13 |
14 |
14 |
15 ISR ( USART_RXC_vect ) { |
15 ISR ( USART_RXC_vect ) { |
16 } |
16 } |
|
17 |
|
18 void solenoid_delay(void) { |
|
19 _delay_ms(2); |
|
20 } |
|
21 |
17 |
22 |
18 // TODO: TYPE should be configured somewhere else |
23 // TODO: TYPE should be configured somewhere else |
19 #define TRACKSWITCH_TYPE 1 // 1=double, 2=single left, 3=single right, 4=pitlane |
24 #define TRACKSWITCH_TYPE 1 // 1=double, 2=single left, 3=single right, 4=pitlane |
20 #define TYPE_DOUBLE 1 |
25 #define TYPE_DOUBLE 1 |
21 #define TYPE_SINGLE_L 2 |
26 #define TYPE_SINGLE_L 2 |