Skip to content
Snippets Groups Projects

Relative encoder ticks

Merged Samuel Tardieu requested to merge relative-encoder-ticks into main
Files
2
@@ -2,6 +2,7 @@ use color_eyre::eyre::Context;
use std::{thread, time::Duration};
use tele0592::{Controller as _, Device as _};
#[allow(clippy::too_many_lines, deprecated)] // deprecated needed for c.get_encoder_ticks()
fn main() -> color_eyre::Result<()> {
color_eyre::install()?;
let mut c = rppal::i2c::I2c::with_bus(8).with_context(|| "opening I²C bus")?;
Loading