Skip to content

Why is _set_pos called? #5

@TheJosh

Description

@TheJosh

Hello,

Reading the SDD1306 specs and cross-comparing with the code, it seems that the pixel method simply manipulates the buffer, and the show method then sets the row/col to 0x0 and writes out the entire buffer in horizontal memory mode. This makes a lot of sense and is easy to understand.

But why is _set_pos called? This seems to just move the page and column pointers, but this doesn't seem required because the entire buffer is written out anyway.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions