components

Module sh1106

Source
Expand description

Components for the SH1106 OLED screen.

§Usage


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

let sh1106 = components::sh1106::Sh1106Component::new(oled_i2c, true)
    .finalize(components::sh1106_component_static!(nrf52840::i2c::TWI));

Structs§

Type Aliases§