Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
hdw-temperature.h
Go to the documentation of this file.
1
23#ifndef _HDW_TEMPERATURE_
24#define _HDW_TEMPERATURE_
25
26void initTemperatureSensor(void);
30float readTemperatureSensor(void);
31
32#endif
void deinitTemperatureSensor(void)
deinitialize the ESP's onboard temperature sensor
Definition hdw-temperature.c:34
void powerDownTemperatureSensor(void)
Power down the temperature sensor.
Definition hdw-temperature.c:44
void powerUpTemperatureSensor(void)
Power up the temperature sensor.
Definition hdw-temperature.c:55
float readTemperatureSensor(void)
Get a temperature reading from the ESP's onboard temperature sensor, in Celsius.
Definition hdw-temperature.c:68
void initTemperatureSensor(void)
Initialize the ESP's onboard temperature sensor.
Definition hdw-temperature.c:22