canboat / canboat

CAN Boat provides NMEA 2000 and NMEA 0183 utilities. It contains a NMEA 2000 PGN decoder and can read and write N2K messages. It is not meant as an end-user tool but as a discovery mechanism for delving into NMEA 2000 networks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Garmin GMI20 DIsplay: Backlight Level, Day Night Mode and Colours

TwoCanPlugIn opened this issue · comments

FYI.

PGN 126720

Change Backlight Level and Day/Night Mode

byte[0] = 0xE5;
byte[1] = 0x98;
byte[2] = 0xDE;
byte[3] = 0x05;
byte[4] = 0x05;
byte[5] = 0x05;
byte[6] = 0x00;
byte[7] = 0x00;
byte[8] = mode; // 0-Daylight Mode, 1-Night Mode
byte[9] = 0x00;
byte[10] = level; // in 5% increments

Change Colours
byte[0] = 0xE5;
byte[1] = 0x98;
byte[2] = 0xDE;
byte[3] = 0x05;
byte[4] = 0x05;
byte[5] = 0x05;
byte[6] = 0x00;
byte[7] = 0x00;
byte[8] = 0x0D; // Colour Mode command
byte[9] = 0x00;
byte[10] = mode; // 0-Day Full Colour, 1, Day High Contrast, 2-Night Full Colour, 3- Night Red/Black, 4-Night Green/Black