Online Development Notebook > Index > ODN > Raw Device Programming > 11 - LCDCmdCmd

Command #11 - LCDCmdCmd


Description:

Write a command 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 11h: LCDCmdCmd
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 data to transfer to the LCD command register. Byte 2 through byte 7 are unused.

Response Format:

Byte Number Description
0 11h: LCDCmdCmd
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:

11-33-00-00-00-00-00-00 will write the command byte of 33h to the LCD command register.


Hardware:  U401 USB Interface    U421 USB Interface
Programming:  USBm DLL Programming    Download Files
Application Notes:  U4x1 Application Notes    Misc Applications and Information    FAQ