Files
overland-controller/firmware/esp32/overland-controller/sensors.h
T

20 lines
362 B
C

#pragma once
struct SensorData {
float temp1 = -127.0;
float temp2 = -127.0;
float temp3 = -127.0;
float temp4 = -127.0;
bool temp1Online = false;
bool temp2Online = false;
bool temp3Online = false;
bool temp4Online = false;
};
extern SensorData sensors;
void initSensors();
void updateSensors();
void printSensorAddresses();