Skip to main content

ow_loop

Function ow_loop 

Source
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).