Loading...
Searching...
No Matches
Go to the documentation of this file.
37#define CS_CAN_DL PIN_PD1
38#define CS_CAN_BMS PIN_PB2
39#define CS_CAN_MOTOR PIN_PB1
43#define APPS_3V3 PIN_A7
44#define BRAKE_IN PIN_PC0
45#define HALL_SENSOR PIN_PC1
48#define BRAKE_LIGHT PIN_PD5
52#define DRIVE_MODE_BTN PIN_PC5
58#define BUTTON_ACTIVE HIGH
61#define MCP2515_CRYSTAL_FREQ MCP_20MHZ
68#define CS_CAN_MOTOR PIN_PB2
69#define CS_CAN_BMS PIN_PB1
70#define CS_CAN_DL PIN_PD5
73#define APPS_5V PIN_PC0
74#define APPS_3V3 PIN_PC1
75#define BRAKE_5V_OUT PIN_PC2
76#define BRAKE_IN PIN_PC3
80#define DRIVE_MODE_BTN PIN_PC4
89#define BUTTON_ACTIVE HIGH
92#define MCP2515_CRYSTAL_FREQ MCP_20MHZ
108#define CS_CAN_MOTOR PIN_PB2
109#define CS_CAN_BMS PIN_PB1
110#define CS_CAN_DL PIN_PB0
113#define APPS_5V PIN_PC0
114#define APPS_3V3 PIN_PC1
115#define BRAKE_IN PIN_PC2
116#define HALL_SENSOR PIN_PC3
119#define BRAKE_LIGHT PIN_PD2
123#define DRIVE_MODE_BTN PIN_PC4
126#define BUZZER PIN_PD4
129#define BMS_FAILED_LED PIN_PD5
132#define BUTTON_ACTIVE LOW
135#define MCP2515_CRYSTAL_FREQ MCP_20MHZ
141#define CS_CAN_MOTOR PIN_PB2
142#define CS_CAN_BMS PIN_PB1
143#define CS_CAN_DL PIN_PD5
146#define APPS_5V PIN_PC0
148#define APPS_3V3 PIN_PC1
150#define BRAKE_IN PIN_PC2
153#define BRAKE_LIGHT PIN_PC3
158#define DRIVE_MODE_BTN PIN_PC4
161#define BUZZER PIN_PD4
167#define BUTTON_ACTIVE HIGH
170#define MCP2515_CRYSTAL_FREQ MCP_16MHZ
175#ifdef USE_ARDUINO_PINS
178#define CS_CAN_MOTOR 9
185#define BRAKE_5V_OUT A2
190#define DRIVE_MODE_BTN 5
198#define BUTTON_ACTIVE HIGH
201#define MCP2515_CRYSTAL_FREQ MCP_8MHZ
205#define CAN_RATE CAN_500KBPS