kunerd / clerk

Hardware independent HD44780 LCD library written in Rust
MIT License
13 stars 1 forks source link

Cursor shift left from home position leads to overflow #25

Closed kunerd closed 6 years ago

kunerd commented 6 years ago

When doing a left shift of cursor, the internal address counter will overflow. Needs clarification what actually happens with the internal address counter of real hardware.

kunerd commented 6 years ago

DDRAM is 128 bytes (2 line version) so it's likely that it overflows to 127 (0b0111_1111), which is the last position of the second line

kunerd commented 6 years ago

confimed