typo
This commit is contained in:
parent
ba95eeebb9
commit
5e7877b5d8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ LCD::LCD(i2c_inst_t *i2c, const uint gpio_sda, const uint gpio_scl,
|
||||||
clear();
|
clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// go to location on LCD
|
// Go to location on LCD
|
||||||
void LCD::setCursor(int line, int position) {
|
void LCD::setCursor(int line, int position) {
|
||||||
int val = (line == 0) ? 0x80 + position : 0xC0 + position;
|
int val = (line == 0) ? 0x80 + position : 0xC0 + position;
|
||||||
sendByte(val, Mode::COMMAND);
|
sendByte(val, Mode::COMMAND);
|
||||||
|
|
Loading…
Reference in a new issue