-
Notifications
You must be signed in to change notification settings - Fork 0
LED Debugging Guide (WIP)
tan7271 edited this page Apr 3, 2024
·
1 revision
-Note:
All LEDs are checked by an interrupt every 50ms. After 3 calls to the interrupt, (150 ms), any LED that is on turns off.
There are 3 LEDs on the General Purpose Motor Board:
- Error_LED
- Turns on whenever an error code is trying to be displayed
- FAULT_MOTOR Pin is turned on (NEED TO IMPLEMENT).
- Debug_1
- This happens when:
- Motor Unit sets PWM when not in PWM mode
- PID values are trying to be set when not in PID mode
- CAN_LED (NEED TO IMPLEMENT):
- Turns on when:
- Can Packet with non-valid ID is received.