Adafruit SHT40 basic driver
Basic library for Adafruit SHT40 Working on PSoC6 Pioneer dev board CY8CKIT-062-WIFI-BT
Diff: SHT40.h
- Revision:
- 1:c6381a3f2d9a
- Parent:
- 0:c46b3e0a8c2b
diff -r c46b3e0a8c2b -r c6381a3f2d9a SHT40.h --- a/SHT40.h Mon Feb 07 15:08:07 2022 +0000 +++ b/SHT40.h Mon Feb 14 23:53:34 2022 +0000 @@ -94,6 +94,11 @@ //Reads the relative humidity, input void, outputs and int. int relHumid(void); + //Reads the temperature, input void, outputs an int in celcius. + float tempCF(void); + + //Reads the relative humidity, input void, outputs and int. + float relHumidF(void); /* @ToDo populate a struct that returns temp and humidity in one call * struct tempHumid{