Skip to main content

pamoja_thermostat_cooling

Function pamoja_thermostat_cooling 

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

Creates a cooling thermostat, which switches on when the reading rises.

§Returns

A handle the caller must release with pamoja_thermostat_free.

§Safety

The returned handle must be freed exactly once.