Skip to main content

pamoja_thermostat_heating

Function pamoja_thermostat_heating 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_thermostat_heating( setpoint: f32, hysteresis: f32, ) -> *mut PamojaThermostat
Expand description

Creates a heating thermostat, which switches on when the reading falls.

§Returns

A handle the caller must release with pamoja_thermostat_free.

§Safety

The returned handle must be freed exactly once.