Expand description
§Commands
This module defines the commands that can be sent to the SH1106 display controller.
It includes the Command enum and the CommandBuffer struct for batching commands.
§Example
Sending a manual command sequence (pseudo-code as CommunicationInterface is needed).
use mini_oled::command::{Command, CommandBuffer};
let commands: CommandBuffer<2> = [
Command::TurnDisplayOn,
Command::Contrast(0xFF),
].into();
// Write commands using the interface...
// interface.write_command(&commands).unwrap();Structs§
- Command
Buffer - A buffer for storing commands to be sent to the display.
Enums§
- Command
- Enum representing commands that can be sent to the SH1106 controller.
- NFrames
- Frame interval configuration for the display clock.
- Page
- Display page address (0-7).
- Vcomh
Level - Vcomh Deselect level.