This commit is contained in:
Martin Brodbeck 2022-05-31 15:31:18 +02:00
parent ba95eeebb9
commit 5e7877b5d8
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ LCD::LCD(i2c_inst_t *i2c, const uint gpio_sda, const uint gpio_scl,
clear();
}
// go to location on LCD
// Go to location on LCD
void LCD::setCursor(int line, int position) {
int val = (line == 0) ? 0x80 + position : 0xC0 + position;
sendByte(val, Mode::COMMAND);