2021-08-24 18:45:23 +02:00
|
|
|
# Syntax Colouring Map For SHT85 temperature and humidity sensor
|
2021-05-26 12:06:51 +02:00
|
|
|
|
2021-08-24 18:45:23 +02:00
|
|
|
|
|
|
|
# Data types (KEYWORD1)
|
2023-04-06 16:54:56 +02:00
|
|
|
SHT KEYWORD1
|
|
|
|
SHT30 KEYWORD1
|
|
|
|
SHT31 KEYWORD1
|
|
|
|
SHT35 KEYWORD1
|
2021-05-26 12:06:51 +02:00
|
|
|
SHT85 KEYWORD1
|
|
|
|
|
2021-05-28 13:46:01 +02:00
|
|
|
|
2021-05-26 12:06:51 +02:00
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
2021-08-24 19:59:51 +02:00
|
|
|
getType KEYWORD2
|
|
|
|
|
2021-05-26 12:06:51 +02:00
|
|
|
read KEYWORD2
|
2023-04-06 16:54:56 +02:00
|
|
|
requestData KEYWORD2
|
|
|
|
dataReady KEYWORD2
|
|
|
|
readData KEYWORD2
|
|
|
|
lastRequest KEYWORD2
|
|
|
|
|
2021-05-26 12:06:51 +02:00
|
|
|
isConnected KEYWORD2
|
|
|
|
readStatus KEYWORD2
|
|
|
|
lastRead KEYWORD2
|
|
|
|
reset KEYWORD2
|
2023-04-06 16:54:56 +02:00
|
|
|
getError KEYWORD2
|
2021-05-28 13:46:01 +02:00
|
|
|
|
2021-05-26 12:06:51 +02:00
|
|
|
setHeatTimeout KEYWORD2
|
2023-04-06 16:54:56 +02:00
|
|
|
getHeatTimeout KEYWORD2
|
2021-05-26 12:06:51 +02:00
|
|
|
heatOn KEYWORD2
|
|
|
|
heatOff KEYWORD2
|
|
|
|
isHeaterOn KEYWORD2
|
2021-05-28 13:46:01 +02:00
|
|
|
|
2021-05-26 12:06:51 +02:00
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
2023-04-06 16:54:56 +02:00
|
|
|
getFahrenheit KEYWORD2
|
2021-08-07 12:34:52 +02:00
|
|
|
getRawHumidity KEYWORD2
|
|
|
|
getRawTemperature KEYWORD2
|
2021-05-28 13:46:01 +02:00
|
|
|
|
2023-04-06 16:54:56 +02:00
|
|
|
setTemperatureOffset KEYWORD2
|
|
|
|
getTemperatureOffset KEYWORD2
|
|
|
|
setHumidityOffset KEYWORD2
|
|
|
|
getHumidityOffset KEYWORD2
|
|
|
|
|
2023-05-09 12:44:18 +02:00
|
|
|
GetSerialNumber KEYWORD2
|
|
|
|
|
2021-08-24 18:45:23 +02:00
|
|
|
|
2021-05-26 12:06:51 +02:00
|
|
|
# Instances (KEYWORD2)
|
|
|
|
|
2021-05-28 13:46:01 +02:00
|
|
|
|
2021-05-26 12:06:51 +02:00
|
|
|
# Constants (LITERAL1)
|
|
|
|
SHT_LIB_VERSION LITERAL1
|
2023-04-06 16:54:56 +02:00
|
|
|
|
|
|
|
SHT_DEFAULT_ADDRESS
|
|
|
|
|
2021-05-26 12:06:51 +02: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 16:54:56 +02: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 18:45:23 +02:00
|
|
|
SHT_ERR_HEATER_COOLDOWN LITERAL1
|
|
|
|
SHT_ERR_HEATER_ON LITERAL1
|
|
|
|
|