-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpins.txt
executable file
·40 lines (34 loc) · 958 Bytes
/
pins.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Pin documentation
// because we don't know what goes where
// cool lights ---------
#define L_TURNSIGNAL 0
#define R_TURNSIGNAL 1
#define BREAKLIGHTS 49
#define L_HEADLIGHT 25
#define R_HEADLIGHT 23
// state lights -----------
#define LED_STATE_0 14
#define LED_STATE_1 15
#define LED_STATE_2 16
#define LED_RED_TRACK 17
#define LED_YELLOW_TRACK 18
#define LED_BLUE_TRACK 19
// state switches ---------
#define STATE_SWITCH_1 47
#define STATE_SWITCH_2 45
#define STATE_SWITCH_3 43
#define STATE_SWITCH_4 41
// sensor network ------------//
#define L_LIGHT_SENSOR A5 //
#define R_LIGHT_SENSOR A6 //
#define HALL_EFFECT 3 //
#define RED_LED 29 //
#define BLUE_LED 28 //
// communicaton -----//
#define RECEIVING A7 //
#define SENDING 27 //
// motors ---------//
#define PIN1_M1 7 // ?
#define PIN2_M1 6 // ?
#define PIN1_M2 5 // ?
#define PIN2_M2 4 // ?