Interface: tos.chips.uc1601.HplUC1601LCD

interface HplUC1601LCD

UC1601 Display Interface

Author:
Rasmus Ulslev Pedersen

Commands
command void initLCD() Send init string to LCD.
command error_t write(uint8_t *data, uint8_t len, uint8_t line) Send (pixel) data to a line on the LCD.
command error_t writefast(uint8_t *data, uint8_t len, uint8_t line)

Commands - Details

initLCD

command void initLCD()

Send init string to LCD. Not the same as Init.init() that is used for SPI initialization.

write

command error_t write(uint8_t *data, uint8_t len, uint8_t line)

Send (pixel) data to a line on the LCD.

Parameters:
data - The data to write to a line. A line is 100 bytes wide. The bits in the first byte controls the first 8 vertical pixels and so on.
len - The length of the data (max. 100 on one line)
line - The line to write to which can be 0 to 7.
Returns:
error_t Return FAIL if unable to send.

writefast

command error_t writefast(uint8_t *data, uint8_t len, uint8_t line)