#include <src/sensors/AtlasScientificRTD.h>
AtlasScientificRTD
class
The Sensor sub-class for the Atlas Scientific RTD temperature sensor.
- Reference
- Detailed Descriptions
Base classes
- class AtlasParent
- A parent class for Atlas EZO circuits and sensors.
Constructors, destructors, conversion operators
- AtlasScientificRTD(TwoWire* theI2C, int8_t powerPin, uint8_t i2cAddressHex = 0x66, uint8_t measurementsToAverage = 1)
- Construct a new Atlas Scientific RTD object using a secondary hardware I2C instance.
- AtlasScientificRTD(int8_t powerPin, uint8_t i2cAddressHex = 0x66, uint8_t measurementsToAverage = 1) explicit
- Construct a new Atlas Scientific RTD object using the primary hardware I2C instance.
- ~AtlasScientificRTD()
- Destroy the Atlas Scientific RTD object.
Function documentation
AtlasScientificRTD:: AtlasScientificRTD(TwoWire* theI2C,
int8_t powerPin,
uint8_t i2cAddressHex = 0x66,
uint8_t measurementsToAverage = 1)
Construct a new Atlas Scientific RTD object using a secondary hardware I2C instance.
Parameters | |
---|---|
theI2C | A TwoWire instance for I2C communication. Due to the limitations of the Arduino core, only a hardware I2C instance can be used. For an AVR board, there is only one I2C instance possible and this form of the constructor should not be used. For a SAMD board, this can be used if a secondary I2C port is created on one of the extra SERCOMs. |
powerPin | The pin on the mcu controlling powering to the Atlas RTD (temperature) circuit. Use -1 if it is continuously powered.
|
i2cAddressHex | The I2C address of the Atlas circuit; optional with the Atlas-supplied default address of 0x66. |
measurementsToAverage | The number of measurements to take and average before giving a "final" result from the sensor; optional with a default value of 1. |
AtlasScientificRTD:: AtlasScientificRTD(int8_t powerPin,
uint8_t i2cAddressHex = 0x66,
uint8_t measurementsToAverage = 1) explicit
Construct a new Atlas Scientific RTD object using the primary hardware I2C instance.
Parameters | |
---|---|
powerPin | The pin on the mcu controlling powering to the Atlas RTD (temperature) circuit. Use -1 if it is continuously powered.
|
i2cAddressHex | The I2C address of the Atlas circuit; optional with the Atlas-supplied default address of 0x66. |
measurementsToAverage | The number of measurements to take and average before giving a "final" result from the sensor; optional with a default value of 1. |