Adafruit SHTC3 Library
|
#include "Arduino.h"
#include <Adafruit_I2CDevice.h>
#include <Adafruit_Sensor.h>
Go to the source code of this file.
Classes | |
class | Adafruit_SHTC3_Humidity |
Adafruit Unified Sensor interface for the humidity sensor component of SHTC3. More... | |
class | Adafruit_SHTC3_Temp |
Adafruit Unified Sensor interface for the temperature sensor component of SHTC3. More... | |
class | Adafruit_SHTC3 |
Macros | |
#define | SHTC3_DEFAULT_ADDR 0x70 |
#define | SHTC3_NORMAL_MEAS_TFIRST_STRETCH 0x7CA2 |
#define | SHTC3_LOWPOW_MEAS_TFIRST_STRETCH 0x6458 |
#define | SHTC3_NORMAL_MEAS_HFIRST_STRETCH 0x5C24 |
#define | SHTC3_LOWPOW_MEAS_HFIRST_STRETCH 0x44DE |
#define | SHTC3_NORMAL_MEAS_TFIRST 0x7866 |
#define | SHTC3_LOWPOW_MEAS_TFIRST 0x609C |
#define | SHTC3_NORMAL_MEAS_HFIRST 0x58E0 |
#define | SHTC3_LOWPOW_MEAS_HFIRST 0x401A |
#define | SHTC3_READID 0xEFC8 |
#define | SHTC3_SOFTRESET 0x805D |
#define | SHTC3_SLEEP 0xB098 |
#define | SHTC3_WAKEUP 0x3517 |
This is a library for the SHTC3 Digital Humidity & Temp Sensor
Designed specifically to work with the Digital Humidity & Temp Sensor --—> https://www.adafruit.com/product/4636
These sensors use I2C to communicate, 2 pins are required to interface
Adafruit invests time and resources providing this open source code, please support Adafruit andopen-source hardware by purchasing products from Adafruit!
Limor Fried/Ladyada (Adafruit Industries).
BSD license, all text above must be included in any redistribution
#define SHTC3_DEFAULT_ADDR 0x70 |
SHTC3 I2C Address
#define SHTC3_NORMAL_MEAS_TFIRST_STRETCH 0x7CA2 |
Normal measurement, temp first with Clock Stretch Enabled
#define SHTC3_LOWPOW_MEAS_TFIRST_STRETCH 0x6458 |
Low power measurement, temp first with Clock Stretch Enabled
#define SHTC3_NORMAL_MEAS_HFIRST_STRETCH 0x5C24 |
Normal measurement, hum first with Clock Stretch Enabled
#define SHTC3_LOWPOW_MEAS_HFIRST_STRETCH 0x44DE |
Low power measurement, hum first with Clock Stretch Enabled
#define SHTC3_NORMAL_MEAS_TFIRST 0x7866 |
Normal measurement, temp first with Clock Stretch disabled
#define SHTC3_LOWPOW_MEAS_TFIRST 0x609C |
Low power measurement, temp first with Clock Stretch disabled
#define SHTC3_NORMAL_MEAS_HFIRST 0x58E0 |
Normal measurement, hum first with Clock Stretch disabled
#define SHTC3_LOWPOW_MEAS_HFIRST 0x401A |
Low power measurement, hum first with Clock Stretch disabled
#define SHTC3_READID 0xEFC8 |
Read Out of ID Register
#define SHTC3_SOFTRESET 0x805D |
Soft Reset
#define SHTC3_SLEEP 0xB098 |
Enter sleep mode
#define SHTC3_WAKEUP 0x3517 |
Wakeup mode