Struct scroll_phat_hd::display::I2CDisplay
[−]
[src]
pub struct I2CDisplay { /* fields omitted */ }
A Scroll pHAT HD device connected over I2C bus (e.g. on a Raspberry Pi).
Methods
impl I2CDisplay
[src]
pub fn new(device_id: u8) -> I2CDisplay
[src]
Creates a new I2CDisplay device using the I2C device identified by the provided
device_id
(normally 1 or 2).