Serial LCD Controller – Command Overview

Serial LCD Controller – Command Overview

Thursday, December 29th, 2011

Share
GD Star Rating
loading...

DISPLAYING ON THE LCD

In order to display characters on the LCD, send the data to be transmitted. The controller will display the content of the data stream according to the LCD configuration during initialization (based on number of lines, characters per line, cursor configuration, etc…). Refer to the COMMANDS OVERVIEW section for more details on how to customize the controller for your project.

COMMANDS OVERVIEW

All commands send to the module should have a command prefix equal to 0xFE. Sending 0xFE initiates the command sequence internally. Without this prefix, the controller will simply display the data transmitted.

Example: To change the module’s I2C address to 0×45, the master should transmit the following:

0xFE 0×61 0×45

If 0xFE was not sent ahead of the command, the LCD would display aE

How to Read the Command Tables:

The command description tables are setup similarly to describe all commands accepted by the module.

  • Syntax:
    • Hex data to be sent AFTER 0xFE – This is the command
    • If the command sent require any number of parameters, those are listed in the order they need to be sent in. A missed parameter will hold the module in command mode until all parameters are received.
  • Parameter: Description of parameters accepted and their possible values
  • Remembered: Whether the setting for the command is saved upon reset.
    • Always  New parameter value is effective upon receipt, and saved to the internal EEPROM. All subsequent power-up or system reset will load the new value automatically.
    • Effective Immediately: Command will be executed upon receipt but is not saved to the internal EEPROM. New value will be lost upon reset unless Save to EEPROM command is sent.
    • N/A: Not applicable for the command
  • Default: Factory programmed value
Syntax 0×61 <addr>
 
Parameter Length Description
addr 1 The new slave address. Valid values are 0×00 to 0x7F.

Values greater than 0x7F will be set as 0x7F, and values less than 0×00 will be set as 0×00.

 
Remembered Always
Default 0×45

 

GD Star Rating
loading...
Print Friendly

Leave a Reply

You must be logged in to post a comment.