I2CLCD
HD4470 LCD driver via I2C interface
 All Functions Groups Pages
Functions
INTERNAL FUNCTIONS

Functions

void lcd_write (uint8_t value)
 Write nibble to display with toggle of enable-bit. More...
 
uint8_t lcd_read (bool mode)
 Read data from display over i2c (for internal use) More...
 
uint8_t lcd_getbyte (bool mode)
 Read one byte over i2c from display. More...
 

Detailed Description

Function Documentation

uint8_t lcd_getbyte ( bool  mode)

Read one byte over i2c from display.

Parameters
modeADDRESS for cursor address and busy flag or DATA for display data
Return values
uint8_tthe byte received from the display
uint8_t lcd_read ( bool  mode)

Read data from display over i2c (for internal use)

Parameters
modeADDRESS for cursor address and busy flag or DATA for display data
Return values
uint8_tlower nibble contains data D0 to D3 pins or D4 to D7 pins
void lcd_write ( uint8_t  value)

Write nibble to display with toggle of enable-bit.

Parameters
valuethe upper nibble represents RS, RW pins and the lower nibble contains data
Returns
none