The Code Repository for the REV0 Steering Wheel.
Dependencies: CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses
Fork of REVO_Updated_Steering by
Diff: Steering.h
- Revision:
- 40:92f08fdc32df
- Parent:
- 39:e6aa6dcf3f75
- Child:
- 47:5d3c6f85fa29
diff -r e6aa6dcf3f75 -r 92f08fdc32df Steering.h --- a/Steering.h Sun Feb 08 05:47:05 2015 +0000 +++ b/Steering.h Sun Feb 08 08:48:17 2015 +0000 @@ -33,7 +33,7 @@ CANBuffer SteeringCANPort(CAN1, MEDIUM, P3_26); // Initialize the CAN port/pin -AnalogOut ledstream(p18); // This appears to iniialize the pin as an analog out, and probably defaults to low. Without this, the LED bar would have a few lights on. +AnalogOut LEDBar(p18); DigitalOut boSW1(P1_29,1);// SW1 DigitalIn biSWBR(P1_27, PullDown);// SW3, BRight