| Online Development Notebook > Index > ODN > Raw Device Programming > 12 - LCDDataCmd |
Command #12 - LCDDataCmd
Description:
Write a character to the LCD. The RS, RW, E lines and the data port are selected by the InitLCDCmd. The data byte is written to the selected port and the control lines are set appropriately. The E line is toggled for five to eight microseconds.
Command Format:
| Byte Number | Description |
| 0 | 12h: LCDDataCmd |
| 1 | Byte Data |
| 2 | <not used> |
| 3 | <not used> |
| 4 | <not used> |
| 5 | <not used> |
| 6 | <not used> |
| 7 | <not used> |
Command Format Details:
Byte 0 contains the command. Byte 1 is the character to transfer to the LCD display. Byte 2 through byte 7 are unused.
Response Format:
| Byte Number | Description |
| 0 | 12h: LCDDataCmd |
| 1 | <not used> |
| 2 | <not used> |
| 3 | <not used> |
| 4 | <not used> |
| 5 | <not used> |
| 6 | <not used> |
| 7 | <not used> |
Response Format Details:
Byte 0 contains the command. Byte 1 through byte 7 are unused.
Example Usage:
12-42-00-00-00-00-00-00 will display a 'B' on the LCD.
| Hardware: U401 USB Interface U421 USB Interface |
| Programming: USBm DLL Programming Download Files |
| Application Notes: U4x1 Application Notes Misc Applications and Information FAQ |