Simulated the CD changer of a Saab to implement a bluetooth connection to the car stereo. Control of playback device (phone) with steering wheel buttons. Needs a RN52 bluetooth transciever and a CAN transiever. So far only audio playback and control via steering wheel buttons implemented. Hands free calling planned.
Diff: CDC.h
- Revision:
- 2:10c60edc8573
- Parent:
- 0:6cf6e566c0da
- Child:
- 6:c454f88524d6
--- a/CDC.h Mon Jan 04 18:54:24 2016 +0000 +++ b/CDC.h Mon Jan 04 23:36:50 2016 +0000 @@ -38,11 +38,13 @@ IBUS_COMMAND get_steering_wheel_cmd(); void display(char text[]); void display_update(); - void set_time(char minutes, char seconds); + void update_elapsed_time(); + void reset_elapsed_time(); + void start_elapsed_time(); + void stop_elapsed_time(); void send_can_frame(int message_id, int *msg); void print_can_frame(CANMessage *msg); void CAN_wrFilter(uint32_t ctrl, uint32_t id); - }; #endif \ No newline at end of file