1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef TEMPERATURE_H_
- #define TEMPERATURE_H_
- #include <stdbool.h>
- #include "onewire.h"
- typedef struct
- {
- float Temperature;
- uint8_t ErrorCounter;
- uint8_t ErrorCycle;
- uint8_t SensorState;
- } TEMPERATURE_SENSORS_t;
- TEMPERATURE_SENSORS_t sTemperSensors[MAX_T_SENSORS];
- bool fTemperDataReady;
- void OW_Init(void);
- #endif
|