Tiny4kOLED icon indicating copy to clipboard operation
Tiny4kOLED copied to clipboard

Why horizontal setting should seperate to 8

Open B3B3K opened this issue 2 years ago • 2 comments

I cant handle the hole pixels for wake cause horizontal miss, how i can change .cpp file to write to directly in y coordinate? (I had tried it about remove offset but idk what is the mean off offset in this case, lol my fault but i have miss )

B3B3K avatar Jul 22 '23 19:07 B3B3K

The hardware requires overwriting 8 pixels (1 byte) at a time, and doesn't allow reading what is already set. To work out the y coordinate, you need the high bits for the 'page' number, and low 3 bits to identify the bit within the byte, however you need to set or clear all 8 bits in the byte to the required values before you send it to the screen.

datacute avatar Jul 23 '23 05:07 datacute

That means, when i setting coordinate on oled and placing pixel, i should think about its hex value (for serious :D measurements :D), right?

B3B3K avatar Aug 20 '23 18:08 B3B3K