2022-01-06 08:05:38 -05:00
|
|
|
# Syntax Colouring Map For AM232X
|
2017-12-12 07:16:58 -05:00
|
|
|
|
2021-02-03 11:20:20 -05:00
|
|
|
|
2021-10-19 05:51:07 -04:00
|
|
|
# Data types (KEYWORD1)
|
2020-05-07 03:53:25 -04:00
|
|
|
AM232X KEYWORD1
|
2017-12-12 07:16:58 -05:00
|
|
|
|
2021-02-03 11:20:20 -05:00
|
|
|
|
2017-12-12 07:16:58 -05:00
|
|
|
# Methods and Functions (KEYWORD2)
|
2021-01-29 06:31:58 -05:00
|
|
|
begin KEYWORD2
|
|
|
|
isConnected KEYWORD2
|
2021-04-07 07:31:22 -04:00
|
|
|
|
2020-05-07 03:53:25 -04:00
|
|
|
read KEYWORD2
|
|
|
|
getModel KEYWORD2
|
|
|
|
getVersion KEYWORD2
|
|
|
|
getDeviceID KEYWORD2
|
2021-04-07 07:31:22 -04:00
|
|
|
|
2020-05-07 03:53:25 -04:00
|
|
|
getStatus KEYWORD2
|
|
|
|
getUserRegisterA KEYWORD2
|
|
|
|
getUserRegisterB KEYWORD2
|
2021-04-07 07:31:22 -04:00
|
|
|
|
2020-05-07 03:53:25 -04:00
|
|
|
setStatus KEYWORD2
|
|
|
|
setUserRegisterA KEYWORD2
|
|
|
|
setUserRegisterB KEYWORD2
|
2021-04-07 07:31:22 -04:00
|
|
|
|
2020-05-07 03:53:25 -04:00
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
2021-04-07 07:31:22 -04:00
|
|
|
wakeUp KEYWORD2
|
2017-12-12 07:16:58 -05:00
|
|
|
|
2022-01-06 08:05:38 -05:00
|
|
|
setHumOffset KEYWORD2
|
|
|
|
setTempOffset KEYWORD2
|
|
|
|
getHumOffset KEYWORD2
|
|
|
|
getTempOffset KEYWORD2
|
|
|
|
|
|
|
|
getReadDelay KEYWORD2
|
|
|
|
setReadDelay KEYWORD2
|
|
|
|
lastRead KEYWORD2
|
|
|
|
|
2022-06-18 03:51:07 -04:00
|
|
|
getSuppressError KEYWORD2
|
|
|
|
setSuppressError KEYWORD2
|
2021-02-03 11:20:20 -05:00
|
|
|
|
2017-12-12 07:16:58 -05:00
|
|
|
# Constants (LITERAL1)
|
2021-01-29 06:31:58 -05:00
|
|
|
AM232X_LIB_VERSION LITERAL1
|
2021-12-11 13:15:19 -05:00
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
AM232X_OK LITERAL1
|
|
|
|
AM232X_ERROR_UNKNOWN LITERAL1
|
|
|
|
AM232X_ERROR_CONNECT LITERAL1
|
|
|
|
AM232X_ERROR_FUNCTION LITERAL1
|
|
|
|
AM232X_ERROR_ADDRESS LITERAL1
|
|
|
|
AM232X_ERROR_REGISTER LITERAL1
|
|
|
|
AM232X_ERROR_CRC_1 LITERAL1
|
|
|
|
AM232X_ERROR_CRC_2 LITERAL1
|
|
|
|
AM232X_ERROR_WRITE_DISABLED LITERAL1
|
|
|
|
AM232X_ERROR_WRITE_COUNT LITERAL1
|
|
|
|
AM232X_MISSING_BYTES LITERAL1
|
2022-01-06 08:05:38 -05:00
|
|
|
AM232X_READ_TOO_FAST LITERAL1
|
2021-01-29 06:31:58 -05:00
|
|
|
|
2022-06-18 03:51:07 -04:00
|
|
|
AM232X_HUMIDITY_OUT_OF_RANGE LITERAL1
|
|
|
|
AM232X_TEMPERATURE_OUT_OF_RANGE LITERAL1
|
|
|
|
AM232X_INVALID_VALUE LITERAL1
|
|
|
|
|
|
|
|
|