2022-01-06 06:08:13 -05:00
|
|
|
# Syntax Colouring Map For AM2315
|
|
|
|
|
|
|
|
# Data types (KEYWORD1)
|
|
|
|
AM2315 KEYWORD1
|
|
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
|
|
|
isConnected KEYWORD2
|
|
|
|
read KEYWORD2
|
|
|
|
|
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
|
|
|
|
|
|
|
setHumOffset KEYWORD2
|
|
|
|
setTempOffset KEYWORD2
|
|
|
|
getHumOffset KEYWORD2
|
|
|
|
getTempOffset KEYWORD2
|
2022-01-14 05:39:18 -05:00
|
|
|
|
|
|
|
getWaitForReading KEYWORD2
|
|
|
|
setWaitForReading KEYWORD2
|
|
|
|
getSuppressError KEYWORD2
|
|
|
|
setSuppressError KEYWORD2
|
|
|
|
|
2022-01-06 06:08:13 -05:00
|
|
|
lastRead KEYWORD2
|
2022-01-14 05:39:18 -05:00
|
|
|
wakeUp KEYWORD2
|
2022-01-06 06:08:13 -05:00
|
|
|
|
|
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
AM2315_LIB_VERSION LITERAL2
|
|
|
|
|
|
|
|
AM2315_OK LITERAL2
|
|
|
|
AM2315_ERROR_CHECKSUM LITERAL1
|
|
|
|
AM2315_ERROR_CONNECT LITERAL1
|
2022-01-14 05:39:18 -05:00
|
|
|
AM2315_MISSING_BYTES LITERAL1
|
|
|
|
AM2315_WAITING_FOR_READ LITERAL1
|
|
|
|
|
|
|
|
AM2315_VALUE_OUT_OF_RANGE LITERAL1
|
|
|
|
AM2315_HUMIDITY_OUT_OF_RANGE LITERAL1
|
|
|
|
AM2315_TEMPERATURE_OUT_OF_RANGE LITERAL1
|
|
|
|
AM2315_INVALID_VALUE LITERAL1
|
|
|
|
|