|
Baby Monitoring System
|
Stores information associated with a sensor. More...
Data Fields | |
| sensorIDs | id |
| char | name [13] |
| Name of the sensor to display (maximum length 15 characters). | |
| float | value |
| Current value of the sensor, updated when a new value is received. | |
| int | idNum |
| ID number of the sensor. | |
| bool(* | triggerAlarm )(float) |
| Function pointer to a function that checks if the sensor value should trigger an alarm. | |
| bool | alarm |
| Indicates whether the alarm was triggered by this sensor. | |
Stores information associated with a sensor.
| bool alarm |
Indicates whether the alarm was triggered by this sensor.
| sensorIDs id |
Sensor ID.
| int idNum |
ID number of the sensor.
| char name |
Name of the sensor to display (maximum length 15 characters).
Name to display for the sensor.
| bool(* triggerAlarm) (float) |
Function pointer to a function that checks if the sensor value should trigger an alarm.
| float value |
Current value of the sensor, updated when a new value is received.
Value of the sensor, updated as values are read.