| aLCDx_Byte | Index |
Definition:
Parameters:
| a | - | The byte to write to the LCD device. |
Return Value:
Description:
This routine writes a byte to an LCD display device. Such devices often use special combinations of bytes to perform special control functions. This routine can also be used to print single characters corresponding to an ASCII value. The LCD must have an IIC interface. The user must define a value called ALCD_ADDR before including the aLCDx.tea file. This value is the IIC address of the LCD display. The IIC baud rate may need to be lowered to achieve reliable communication with the LCD display. See the cmdVAL_SET or aPortIICBaud documentation for details.
This function works with LCDs that expect a 0x00 byte before any printable characters, such as the DS-LCDD2 from Total Robots Ltd.
Example:
#define ALCD_ADDR 92
#include <aLCDx.tea> /* after the define */
void main() {
aLCDx_Byte(0x3F);
}
This would display a "?" on the current output line on the LCD display.
Related: