3-phase PV router
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1
12#ifndef CONSTANTS_H
13#define CONSTANTS_H
14
15#include <Arduino.h>
16
17// Dallas DS18B20 commands
18inline constexpr uint8_t CONVERT_TEMPERATURE{ 0x44 };
19inline constexpr uint8_t READ_SCRATCHPAD{ 0xBE };
20inline constexpr uint8_t WRITE_SCRATCH{ 0x4E };
21
22inline constexpr int16_t OUTOFRANGE_TEMPERATURE{ 30200 };
23inline constexpr int16_t TEMP_RANGE_LOW{ -5500 };
24inline constexpr int16_t TEMP_RANGE_HIGH{ 12500 };
25
26inline constexpr int16_t DEVICE_DISCONNECTED_C{ -127 };
27inline constexpr int16_t DEVICE_DISCONNECTED_RAW{ -7040 };
28
29#endif // CONSTANTS_H
constexpr uint8_t WRITE_SCRATCH
Definition: constants.h:20
constexpr uint8_t CONVERT_TEMPERATURE
Definition: constants.h:18
constexpr int16_t TEMP_RANGE_LOW
Definition: constants.h:23
constexpr int16_t DEVICE_DISCONNECTED_RAW
Definition: constants.h:27
constexpr uint8_t READ_SCRATCHPAD
Definition: constants.h:19
constexpr int16_t OUTOFRANGE_TEMPERATURE
Definition: constants.h:22
constexpr int16_t TEMP_RANGE_HIGH
Definition: constants.h:24
constexpr int16_t DEVICE_DISCONNECTED_C
Definition: constants.h:26