2022-01-11 14:48:39 -05:00
|
|
|
# Syntax Colouring Map For DHT20
|
|
|
|
|
|
|
|
# Data types (KEYWORD1)
|
|
|
|
DHT20 KEYWORD1
|
|
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
|
|
|
isConnected KEYWORD2
|
2023-02-10 10:22:51 -05:00
|
|
|
getAddress KEYWORD2
|
2022-01-11 14:48:39 -05:00
|
|
|
|
|
|
|
requestData KEYWORD2
|
|
|
|
readData KEYWORD2
|
2022-09-11 05:44:04 -04:00
|
|
|
convert KEYWORD2
|
2022-01-11 14:48:39 -05:00
|
|
|
|
|
|
|
read KEYWORD2
|
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
|
|
|
|
|
|
|
setHumOffset KEYWORD2
|
|
|
|
setTempOffset KEYWORD2
|
|
|
|
getHumOffset KEYWORD2
|
|
|
|
getTempOffset KEYWORD2
|
|
|
|
|
2022-09-16 13:27:01 -04:00
|
|
|
readStatus KEYWORD2
|
2022-09-17 07:50:11 -04:00
|
|
|
isCalibrated KEYWORD2
|
|
|
|
isMeasuring KEYWORD2
|
|
|
|
isIdle KEYWORD2
|
2022-09-18 13:13:39 -04:00
|
|
|
internalStatus KEYWORD2
|
|
|
|
|
|
|
|
lastRead KEYWORD2
|
|
|
|
lastRequest KEYWORD2
|
|
|
|
|
|
|
|
resetSensor KEYWORD2
|
|
|
|
|
2022-01-11 14:48:39 -05:00
|
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
DHT20_LIB_VERSION LITERAL2
|
2022-09-16 13:27:01 -04:00
|
|
|
|
2022-01-11 14:48:39 -05:00
|
|
|
DHT20_OK LITERAL2
|
|
|
|
DHT20_ERROR_CHECKSUM LITERAL1
|
|
|
|
DHT20_ERROR_CONNECT LITERAL1
|
|
|
|
DHT20_MISSING_BYTES LITERAL1
|
2022-09-16 13:27:01 -04:00
|
|
|
DHT20_ERROR_BYTES_ALL_ZERO LITERAL1
|
2022-09-17 07:50:11 -04:00
|
|
|
DHT20_ERROR_READ_TIMEOUT LITERAL1
|
|
|
|
DHT20_ERROR_LASTREAD LITERAL1
|
|
|
|
|
2022-09-16 13:27:01 -04:00
|
|
|
|