Enum nanohat_oled::AddressingMode [−][src]
pub enum AddressingMode {
Horizontal,
Vertical,
Page,
}
Expand description
Different addressing modes available for the display. They affect how pointers are advanced after data is written.
Variants
Horizontal
Each byte (column) written advances the column pointer by one. When it reaches the end of the page, the page pointer is advanced by one, and the column pointer is reset to zero.
Vertical
Each byte (column) written advances the page pointer by one. When it reaches the last page, the column pointer is advanced by one, and the page pointer is reset to zero.
Page
This is the default mode. Each byte (column) written advances the column pointer by one. When it reaches the end of the page, the column pointer is reset to zero. The page pointer does not change.
Trait Implementations
Performs the conversion.