-
Notifications
You must be signed in to change notification settings - Fork 17
Command Set
Brian Alano edited this page Mar 17, 2019
·
2 revisions
ASCII | DEC | HEX | Description |
---|---|---|---|
'|' | 124 | 0x7C | Enter Settings Mode |
ctrl+h | 8 | 0x08 | Software reset of the system |
ctrl+i | 9 | 0x09 | Enable/disable splash screen |
ctrl+j | 10 | 0x0A | Save currently displayed text as splash |
ctrl+k | 11 | 0x0B | Change baud to 2400bps |
ctrl+l | 12 | 0x0C | Change baud to 4800bps |
ctrl+m | 13 | 0x0D | Change baud to 9600bps |
ctrl+n | 14 | 0x0E | Change baud to 14400bps |
ctrl+o | 15 | 0x0F | Change baud to 19200bps |
ctrl+p | 16 | 0x10 | Change baud to 38400bps |
ctrl+q | 17 | 0x11 | Change baud to 57600bps |
ctrl+r | 18 | 0x12 | Change baud to 115200bps |
ctrl+s | 19 | 0x13 | Change baud to 230400bps |
ctrl+t | 20 | 0x14 | Change baud to 460800bps |
ctrl+u | 21 | 0x15 | Change baud to 921600bps |
ctrl+v | 22 | 0x16 | Change baud to 1000000bps |
ctrl+w | 23 | 0x17 | Change baud to 1200bps |
ctrl+x | 24 | 0x18 | Change the contrast. Follow Ctrl+x with number 0 to 255. 40 is default. |
ctrl+y | 25 | 0x19 | Change the TWI address. Follow Ctrl+y with number 0 to 255. 114 (0x72) is default. |
ctrl+z | 26 | 0x1A | Enable/disable ignore RX pin on startup (ignore emergency reset) |
ESC to '"' | 27-34 | 0x1B-0x22 | Record line of pixel data to a custom character. Up to eight characters can be recorded. Each character is made up of 7 lines of pixel data. Each line of pixel data must be proceeded by the character position to record within. 0x1B = character 0. 0x22 = character 7. For example, 0x1C 01 1C 03 1C 07 1C 0F 1C 1F 1C 3F 1C 7F will draw a triangle in character location 1. Saved to NVM. |
'#' to '*' | 35-42 | 0x23-0x2A | Display custom character 0 through 7. For example, 0x24 will display the character stored in location 1. 0x28 will display character stored in location 5. |
'+' | 43 | 0x2B | Set RGB Backlight. Follow this command with three bytes representing Red, Green, Blue, backlight values. Supported on v1.1+ of SerLCD. |
',' | 44 | 0x2C | Display current SerLCD firmware version. Supported on v1.1+ of SerLCD. If this command doesn't display anything version is v1.0. |
'-' | 45 | 0x2D | Clear display. Move cursor to home position. |
'.' | 46 | 0x2E | Enable system messages as settings change (ie, 'Contrast: 5'). Supported on v1.2+ of SerLCD. |
'/' | 47 | 0x2F | Disable the displaying of system messages. Supported on v1.2+ of SerLCD. |
'0' | 48 | 0x30 | Enable splash screen at power on. Similar to Ctrl+i command but definitive. Supported on v1.2+ of SerLCD. |
'1' | 49 | 0x31 | Disable splash screen at power on. Similar to Ctrl+i command but definitive. Supported on v1.2+ of SerLCD. |
n/a | 128-157 | 0x80-0x9D | Set the primary backlight brightness. 128 = Off, 157 = 100%. |
n/a | 158-187 | 0x9E-0xBB | Set the green backlight brightness. 158 = Off, 187 = 100%. |
n/a | 188-217 | 0xBC-0xD9 | Set the blue backlight brightness. 188 = Off, 217 = 100%. |
ctrl+c to ctrl+g | 3-7 | 0x03-0x07 | Depricated command: Send line width. |
Original source: SparkFun Hookup Guide