pitlane/main.c

changeset 71
2a49d2586fbf
parent 70
3a57b7a70683
child 72
60c4b28fd773
equal deleted inserted replaced
70:3a57b7a70683 71:2a49d2586fbf
68 68
69 volatile uint8_t response = 0; 69 volatile uint8_t response = 0;
70 uint8_t self_id = 0b1111; // ONLY ONE pitlane 70 uint8_t self_id = 0b1111; // ONLY ONE pitlane
71 71
72 void solenoid_delay(void) { 72 void solenoid_delay(void) {
73 _delay_ms(10); 73 _delay_ms(2);
74 } 74 }
75 75
76 void send_response(uint16_t data) { 76 void send_response(uint16_t data) {
77 /* frame format: 77 /* frame format:
78 1 startbit 78 1 startbit

mercurial