lcd: changed the OOO generalisation.

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
This commit is contained in:
Kiveisha Yevgeniy
2014-06-05 15:20:40 +00:00
parent 039b138194
commit 3ce441f0a8
7 changed files with 61 additions and 95 deletions

View File

@ -85,7 +85,7 @@ Lcm1602::setCursor (int row, int column) {
int row_addr[] = { 0x80, 0xc0, 0x14, 0x54};
uint8_t offset = ((column % 16) + row_addr[row]);
return send (LCD_SETDDRAMADDR | offset, 0);
return send (LCD_CMD | offset, 0);
}
maa_result_t