Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 1.39 KB
#ifndef RTI_H
#define RTI_H
#include <stdint.h>
Volvo RTI navigation (2002-2005?) control.
The screen waits for special commands via serial interface, 2400N1
Since it's connected to MCU via NPN transistor, the serial interface must be inversed (handled by SoftwareSerial).
Brief overview of protocol:
Screen expects three bytes (actually the serial protocol consists of 15/16 bit words and it's a lucky coincidence that it works by sending 8bit bytes).
The first byte is display mode.
The second byte is brightness level. If the brightness level needs to be changed, a special byte is sent. Otherwise, current brightness level is retained by sending 0x40.
The last byte is always 0x83 (don't ask).
For more information see:
extern void rti_init();
//brightness level, number between 0 and 15, inclusive, 0 being the least
extern void rti_set_brightness(uint8_t level);
extern void rti_disable_screen();
extern void rti_enable_screen();
extern void rti_step();
Something went wrong with that request. Please try again.