|
at24cm0x 1.0
at24cm0x driver library
|
Command and options for configuring the SSD130X display memory addressing mode. More...
Macros | |
| #define | SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE 0x20 |
| #define | SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE_HORIZONTAL 0x00 |
| #define | SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE_VERTICAL 0x01 |
| #define | SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE_PAGE 0x02 |
Command and options for configuring the SSD130X display memory addressing mode.
The SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE macro defines the command byte used to set how the display RAM is accessed and updated. The addressing modes includes:
Usage Example: To set page addressing mode, send the command SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE followed by SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE_PAGE.
| #define SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE 0x20 |
| #define SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE_HORIZONTAL 0x00 |
Horizontal addressing mode
| #define SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE_PAGE 0x02 |
Page addressing mode
| #define SSD130X_CMD_SET_MEMORY_ADDRESSING_MODE_VERTICAL 0x01 |
Vertical addressing mode