2023-02-09 12:45:30 -05:00
|
|
|
# Syntax Colouring Map For DHT12
|
2017-12-12 16:04:06 -05:00
|
|
|
|
2023-02-09 12:45:30 -05:00
|
|
|
# Data types (KEYWORD1)
|
2017-12-12 16:04:06 -05:00
|
|
|
DHT12 KEYWORD1
|
|
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
2021-01-29 06:31:58 -05:00
|
|
|
begin KEYWORD2
|
2021-12-16 09:58:14 -05:00
|
|
|
isConnected KEYWORD2
|
|
|
|
|
2023-02-09 12:45:30 -05:00
|
|
|
read KEYWORD2
|
2020-11-27 05:10:47 -05:00
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
2021-12-16 09:58:14 -05:00
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
setHumOffset KEYWORD2
|
|
|
|
setTempOffset KEYWORD2
|
|
|
|
getHumOffset KEYWORD2
|
|
|
|
getTempOffset KEYWORD2
|
2023-02-09 12:45:30 -05:00
|
|
|
|
2021-10-25 11:35:53 -04:00
|
|
|
lastRead KEYWORD2
|
|
|
|
|
2017-12-12 16:04:06 -05:00
|
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
DHT12_VERSION LITERAL2
|
2021-12-16 09:58:14 -05:00
|
|
|
|
2017-12-12 16:04:06 -05:00
|
|
|
DHT12_OK LITERAL2
|
|
|
|
DHT12_ERROR_CHECKSUM LITERAL1
|
|
|
|
DHT12_ERROR_CONNECT LITERAL1
|
|
|
|
DHT12_MISSING_BYTES LITERAL1
|