mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-06-24 23:31:32 +02:00
-Changed getCO2 to return a char and if sensor is non existent will return NULL -Changed getPM2 to return a char and if sensor is non existent will return NULL -Added a new function getPM2_Raw which will return the value of PM2 as an integer -Added a new function getCO2_Raw which will return the value of CO2 as an integer -Added 2 new variables in the TMP_Raw Struct: 1. t_Char 2. rh_Char These variables will be used to store the corresponding values as char and if sensor is nonexistent should be NULL
66 lines
1.2 KiB
Plaintext
66 lines
1.2 KiB
Plaintext
#######################################
|
|
# Syntax Coloring Map For AirGradient
|
|
#######################################
|
|
|
|
#######################################
|
|
# Datatypes (KEYWORD1)
|
|
#######################################
|
|
|
|
AirGradient KEYWORD1
|
|
|
|
|
|
#######################################
|
|
# Methods and Functions (KEYWORD2)
|
|
#######################################
|
|
|
|
setOutput KEYWORD2
|
|
beginCO2 KEYWORD2
|
|
PMS_Init KEYWORD2
|
|
PMS KEYWORD2
|
|
sleep KEYWORD2
|
|
wakeUp KEYWORD2
|
|
activeMode KEYWORD2
|
|
passiveMode KEYWORD2
|
|
requestRead KEYWORD2
|
|
read_PMS KEYWORD2
|
|
readUntil KEYWORD2
|
|
getPM2 KEYWORD2
|
|
|
|
|
|
ClosedCube_TMP_RH KEYWORD2
|
|
getTemp KEYWORD2
|
|
getRhum KEYWORD2
|
|
TMP_RH_Init KEYWORD2
|
|
clearAll KEYWORD2
|
|
softReset KEYWORD2
|
|
reset KEYWORD2
|
|
readSerialNumber KEYWORD2
|
|
testTMP_RH KEYWORD2
|
|
periodicStart KEYWORD2
|
|
periodicFetchData KEYWORD2
|
|
periodicStop KEYWORD2
|
|
|
|
|
|
CO2_Init KEYWORD2
|
|
getCO2 KEYWORD2
|
|
get_CO2_values KEYWORD2
|
|
|
|
|
|
MHZ19_Init KEYWORD2
|
|
setDebug_MHZ19 KEYWORD2
|
|
isPreHeating_MHZ19 KEYWORD2
|
|
readMHZ19 KEYWORD2
|
|
|
|
|
|
|
|
#######################################
|
|
# Instances (KEYWORD2)
|
|
#######################################
|
|
|
|
#######################################
|
|
# Constants (LITERAL1)
|
|
#######################################
|
|
|
|
MHZ14A LITERAL1
|
|
MHZ19B LITERAL1
|