Some constants.
More...
Go to the source code of this file.
Some constants.
- Author
- Frédéric Metrich (frede.nosp@m.ric..nosp@m.metri.nosp@m.ch@l.nosp@m.ive.f.nosp@m.r)
- Version
- 0.1
- Date
- 2021-10-04
- Copyright
- Copyright (c) 2021
Definition in file constants.h.
◆ CONVERT_TEMPERATURE
constexpr uint8_t CONVERT_TEMPERATURE { 0x44 } |
|
inlineconstexpr |
◆ DEVICE_DISCONNECTED_C
constexpr int16_t DEVICE_DISCONNECTED_C { -127 } |
|
inlineconstexpr |
◆ DEVICE_DISCONNECTED_RAW
constexpr int16_t DEVICE_DISCONNECTED_RAW { -7040 } |
|
inlineconstexpr |
◆ OUTOFRANGE_TEMPERATURE
constexpr int16_t OUTOFRANGE_TEMPERATURE { 30200 } |
|
inlineconstexpr |
this value (302C) is sent if the sensor reports < -55C or > +125C
Definition at line 20 of file constants.h.
◆ READ_SCRATCHPAD
constexpr uint8_t READ_SCRATCHPAD { 0xBE } |
|
inlineconstexpr |
◆ TEMP_RANGE_HIGH
constexpr int16_t TEMP_RANGE_HIGH { 12500 } |
|
inlineconstexpr |
◆ TEMP_RANGE_LOW
constexpr int16_t TEMP_RANGE_LOW { -5500 } |
|
inlineconstexpr |
◆ WRITE_SCRATCH
constexpr uint8_t WRITE_SCRATCH { 0x4E } |
|
inlineconstexpr |