2021-08-24 10:01:55 -04:00
|
|
|
# Syntax Colouring Map For SHT31 temperature and humidity sensor
|
2021-08-10 16:16:36 -04:00
|
|
|
|
2019-03-05 12:45:36 -05:00
|
|
|
|
2021-08-24 10:01:55 -04:00
|
|
|
# Data types (KEYWORD1)
|
2019-03-05 12:45:36 -05:00
|
|
|
SHT31 KEYWORD1
|
|
|
|
|
2021-05-28 07:45:10 -04:00
|
|
|
|
2019-03-05 12:45:36 -05:00
|
|
|
# Methods and Functions (KEYWORD2)
|
2020-11-27 05:33:55 -05:00
|
|
|
begin KEYWORD2
|
|
|
|
read KEYWORD2
|
2021-01-29 06:31:58 -05:00
|
|
|
isConnected KEYWORD2
|
2020-11-27 05:33:55 -05:00
|
|
|
readStatus KEYWORD2
|
|
|
|
lastRead KEYWORD2
|
|
|
|
reset KEYWORD2
|
2021-08-10 16:16:36 -04:00
|
|
|
|
2020-11-27 05:33:55 -05:00
|
|
|
setHeatTimeout KEYWORD2
|
|
|
|
heatOn KEYWORD2
|
|
|
|
heatOff KEYWORD2
|
2021-01-29 06:31:58 -05:00
|
|
|
isHeaterOn KEYWORD2
|
2021-08-10 16:16:36 -04:00
|
|
|
|
2020-11-27 05:33:55 -05:00
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
2021-08-10 16:16:36 -04:00
|
|
|
|
2020-11-27 05:33:55 -05:00
|
|
|
requestData KEYWORD2
|
|
|
|
dataReady KEYWORD2
|
|
|
|
readData KEYWORD2
|
2019-03-05 12:45:36 -05:00
|
|
|
|
2021-08-10 16:16:36 -04:00
|
|
|
getRawHumidity KEYWORD2
|
|
|
|
getRawTemperature KEYWORD2
|
2021-05-28 07:45:10 -04:00
|
|
|
|
2021-08-24 10:01:55 -04:00
|
|
|
|
2019-03-05 12:45:36 -05:00
|
|
|
# Instances (KEYWORD2)
|
|
|
|
|
2021-05-28 07:45:10 -04:00
|
|
|
|
2019-03-05 12:45:36 -05:00
|
|
|
# Constants (LITERAL1)
|
2020-11-27 05:33:55 -05:00
|
|
|
SHT31_LIB_VERSION LITERAL1
|
|
|
|
SHT31_STATUS_ALERT_PENDING LITERAL1
|
|
|
|
SHT31_STATUS_HEATER_ON LITERAL1
|
|
|
|
SHT31_STATUS_HUM_TRACK_ALERT LITERAL1
|
|
|
|
SHT31_STATUS_TEMP_TRACK_ALERT LITERAL1
|
|
|
|
SHT31_STATUS_SYSTEM_RESET LITERAL1
|
|
|
|
SHT31_STATUS_COMMAND_STATUS LITERAL1
|
|
|
|
SHT31_STATUS_WRITE_CRC_STATUS LITERAL1
|
2021-08-24 10:01:55 -04:00
|
|
|
SHT31_ERR_HEATER_COOLDOWN LITERAL1
|
|
|
|
SHT31_ERR_HEATER_ON LITERAL1
|
|
|
|
|