2021-08-24 12:45:23 -04:00
|
|
|
# Syntax Colouring Map For SHT85 temperature and humidity sensor
|
2021-05-26 06:06:51 -04:00
|
|
|
|
2021-08-24 12:45:23 -04:00
|
|
|
|
|
|
|
# Data types (KEYWORD1)
|
2023-04-06 10:54:56 -04:00
|
|
|
SHT KEYWORD1
|
|
|
|
SHT30 KEYWORD1
|
|
|
|
SHT31 KEYWORD1
|
|
|
|
SHT35 KEYWORD1
|
2021-05-26 06:06:51 -04:00
|
|
|
SHT85 KEYWORD1
|
|
|
|
|
2021-05-28 07:46:01 -04:00
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
2021-08-24 13:59:51 -04:00
|
|
|
getType KEYWORD2
|
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
read KEYWORD2
|
2023-04-06 10:54:56 -04:00
|
|
|
requestData KEYWORD2
|
|
|
|
dataReady KEYWORD2
|
|
|
|
readData KEYWORD2
|
|
|
|
lastRequest KEYWORD2
|
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
isConnected KEYWORD2
|
|
|
|
readStatus KEYWORD2
|
|
|
|
lastRead KEYWORD2
|
|
|
|
reset KEYWORD2
|
2023-04-06 10:54:56 -04:00
|
|
|
getError KEYWORD2
|
2021-05-28 07:46:01 -04:00
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
setHeatTimeout KEYWORD2
|
2023-04-06 10:54:56 -04:00
|
|
|
getHeatTimeout KEYWORD2
|
2021-05-26 06:06:51 -04:00
|
|
|
heatOn KEYWORD2
|
|
|
|
heatOff KEYWORD2
|
|
|
|
isHeaterOn KEYWORD2
|
2021-05-28 07:46:01 -04:00
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
2023-04-06 10:54:56 -04:00
|
|
|
getFahrenheit KEYWORD2
|
2021-08-07 06:34:52 -04:00
|
|
|
getRawHumidity KEYWORD2
|
|
|
|
getRawTemperature KEYWORD2
|
2021-05-28 07:46:01 -04:00
|
|
|
|
2023-04-06 10:54:56 -04:00
|
|
|
setTemperatureOffset KEYWORD2
|
|
|
|
getTemperatureOffset KEYWORD2
|
|
|
|
setHumidityOffset KEYWORD2
|
|
|
|
getHumidityOffset KEYWORD2
|
|
|
|
|
2021-08-24 12:45:23 -04:00
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
# Instances (KEYWORD2)
|
|
|
|
|
2021-05-28 07:46:01 -04:00
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
# Constants (LITERAL1)
|
|
|
|
SHT_LIB_VERSION LITERAL1
|
2023-04-06 10:54:56 -04:00
|
|
|
|
|
|
|
SHT_DEFAULT_ADDRESS
|
|
|
|
|
2021-05-26 06:06:51 -04:00
|
|
|
SHT_STATUS_ALERT_PENDING LITERAL1
|
|
|
|
SHT_STATUS_HEATER_ON LITERAL1
|
|
|
|
SHT_STATUS_HUM_TRACK_ALERT LITERAL1
|
|
|
|
SHT_STATUS_TEMP_TRACK_ALERT LITERAL1
|
|
|
|
SHT_STATUS_SYSTEM_RESET LITERAL1
|
|
|
|
SHT_STATUS_COMMAND_STATUS LITERAL1
|
|
|
|
SHT_STATUS_WRITE_CRC_STATUS LITERAL1
|
2023-04-06 10:54:56 -04:00
|
|
|
|
|
|
|
SHT_OK LITERAL1
|
|
|
|
SHT_ERR_WRITECMD LITERAL1
|
|
|
|
SHT_ERR_READBYTES LITERAL1
|
|
|
|
SHT_ERR_HEATER_OFF LITERAL1
|
|
|
|
SHT_ERR_NOT_CONNECT LITERAL1
|
|
|
|
SHT_ERR_CRC_TEMP LITERAL1
|
|
|
|
SHT_ERR_CRC_HUM LITERAL1
|
|
|
|
SHT_ERR_CRC_STATUS LITERAL1
|
2021-08-24 12:45:23 -04:00
|
|
|
SHT_ERR_HEATER_COOLDOWN LITERAL1
|
|
|
|
SHT_ERR_HEATER_ON LITERAL1
|
|
|
|
|