components

Module ssd1306

Source
Expand description

Components for the SSD1306 OLED screen.

§Usage


let ssd1306_i2c = components::i2c::I2CComponent::new(i2c_bus, 0x3c)
    .finalize(components::i2c_component_static!(nrf52840::i2c::TWI));

let ssd1306 = components::ssd1306::Ssd1306Component::new(ssd1306_i2c, true)
    .finalize(components::ssd1306_component_static!(nrf52840::i2c::TWI));

Structs§

Type Aliases§