[][src]Crate nanohat_oled

An interface for the NanoHat OLED module

Structs

Oled

Represents the NanoHat OLED device

Enums

AddressingMode

Different addressing modes available for the display. They affect how pointers are advanced after data is written.

Command

A command that can be sent to the OLED display

Constants

OLED_ADDRESS

The I2C slave address of the display

OLED_HEIGHT

The height of the display, in pixels

OLED_WIDTH

The width of the display, in pixels

Type Definitions

Image

For now, images are represented as byte arrays representing 8-bit grayscale bitmaps. Note that images must be exactly the size of the display

OledResult

Returned for commands and data sent to the OLED display.