Inert Temperature Sensor#
Defined in namespace hal::soft
#include <libhal-soft/inert/inert_temperature_sensor.hpp>
-
class inert_temperature_sensor : public hal::temperature_sensor#
Inert implementation of temperature sensing hardware.
Public Functions
-
inline constexpr inert_temperature_sensor(hal::celsius p_temperature)#
Create inert_temperature_sensor object.
- Parameters:
p_temperature – - hal::celsius object to return when read() is called
-
inline constexpr inert_temperature_sensor(hal::celsius p_temperature)#