- width,
- height,
- colstart=0,
- rowstart=0,
- rotation=0,
- color_depth=16,
- grayscale=False,
- pixels_in_byte_share_row=True,
- bytes_per_cell=1,
- reverse_pixels_in_byte=False,
- set_column_command=0x2A,
- set_row_command=0x2B,
- write_ram_command=0x2C,
- set_vertical_scroll=0,
- backlight_pin=None,
- brightness_command=None,
- brightness=1.0,
- auto_brightness=False,
- single_byte_bounds=False,
- data_as_commands=False,
- auto_refresh=True,
- native_frames_per_second=60
+ width: int,
+ height: int,
+ colstart: int = 0,
+ rowstart: int = 0,
+ rotation: int = 0,
+ color_depth: int = 16,
+ grayscale: bool = False,
+ pixels_in_byte_share_row: bool = True,
+ bytes_per_cell: int = 1,
+ reverse_pixels_in_byte: bool = False,
+ set_column_command: int = 0x2A,
+ set_row_command: int = 0x2B,
+ write_ram_command: int = 0x2C,
+ backlight_pin: Optional[microcontroller.Pin] = None,
+ brightness_command: Optional[int] = None,
+ brightness: float = 1.0,
+ auto_brightness: bool = False,
+ single_byte_bounds: bool = False,
+ data_as_commands: bool = False,
+ auto_refresh: bool = True,
+ native_frames_per_second: int = 60,
+ backlight_on_high: bool = True,
+ SH1107_addressing: bool = False,
+ set_vertical_scroll: int = 0,