pitlane/main.c

changeset 70
3a57b7a70683
parent 69
27c0c0095e26
child 71
2a49d2586fbf
equal deleted inserted replaced
69:27c0c0095e26 70:3a57b7a70683
22 #define SOLENOID_A_PORT PORTB 22 #define SOLENOID_A_PORT PORTB
23 #define SOLENOID_B_PORT PORTB 23 #define SOLENOID_B_PORT PORTB
24 #define SOLENOID_A_PIN PB1 24 #define SOLENOID_A_PIN PB1
25 #define SOLENOID_B_PIN PB2 25 #define SOLENOID_B_PIN PB2
26 26
27 #define TRACKSWITCH_TYPE 4 // 1=double, 2=single, 4=pitlane 27 #define TRACKSWITCH_TYPE 4 // 1=double, 2=single left, 3=single right, 4=pitlane
28 #define TYPE_DOUBLE 1
29 #define TYPE_SINGLE_L 2
30 #define TYPE_SINGLE_R 3
28 #define TYPE_PITLANE 4 31 #define TYPE_PITLANE 4
29 32
30 #define MAX_SENSORS 3 33 #define MAX_SENSORS 3
31 34
32 #define PIT_PORT PORTC 35 #define PIT_PORT PORTC

mercurial