Skip to main content

read_touch

Function read_touch 

Source
pub async fn read_touch(i2c: &SharedI2cBus) -> Result<Option<(u16, u16)>, Error>
Expand description

Read first touch point. Returns Some((x, y)) if touched, None otherwise.