hantto
Member
I'm a bit confused how he sets up the LCD.
He sends "Display Shift is On (0x28)" to lcd which is 101000 binary, the MSB is the 5th one, which points to that he modifies the "Function Set" register (according to the table he has on his LCD tutorial page). But there is nothing in this register that has to do with shifting, only the bits for selecting 8 or 4 bit interface, 2 or 1 line mode and the dot format.
The register he should be modifying is the "Character Entry Mode" with the value 111 which is 0x07 to turn shifting on. Despite my observations his routines work. WHAT am I missing here?
He sends "Display Shift is On (0x28)" to lcd which is 101000 binary, the MSB is the 5th one, which points to that he modifies the "Function Set" register (according to the table he has on his LCD tutorial page). But there is nothing in this register that has to do with shifting, only the bits for selecting 8 or 4 bit interface, 2 or 1 line mode and the dot format.
The register he should be modifying is the "Character Entry Mode" with the value 111 which is 0x07 to turn shifting on. Despite my observations his routines work. WHAT am I missing here?