pub async fn ow_loop(
resources: OnewireResources<'static>,
on_temperatures: fn(&[(u64, f32)]),
)Expand description
3s ticker, reads all sensors, calls on_temperatures with slice of (address, temp).
pub async fn ow_loop(
resources: OnewireResources<'static>,
on_temperatures: fn(&[(u64, f32)]),
)3s ticker, reads all sensors, calls on_temperatures with slice of (address, temp).