Re: SSD1306 OLED (72x40) I2C display from scratch
Richard, how did you come to this $68 value please? I can't figure it out
the info supplied with the display makes calculating the value somewhat difficult . in fact i cannot see the connection at all
the command basically sets where the memory line representing page 0 bit 0 maps to the physical display top row pixels, it can be vertically offset by 0 to 63 pixels in a virtually identical way to the way the display scrolls horizontally
it needed to be offset by -23 pixels to get the top row to align with page 0 bit 0
command range = 0x40 to 0x7f , 0x7f - 23 = 0x68
Last edited by richard; - 12th December 2023 at 22:23.
Warning I'm not a teacher
Bookmarks