|
float | Sensors [MAXNUMOFSENSORS] |
|
Definition at line 15 of file SensorCommunicationLib.h.
◆ SensorCommunicationLib()
SensorCommunicationLib::SensorCommunicationLib |
( |
int |
NumberOfSensors = 10 , |
|
|
int |
param_ms = 2000 , |
|
|
int |
param_samples = 100 |
|
) |
| |
This method is the constructor of the SensorCommunicationLib
- Author
- Antonio Cafiero
- Parameters
-
NumberOfSensors | The number of sensors value to transmitt as a stream of csv. |
param_ms | The number of m sec interval between sensor value transmissions. |
param_samples | The number of samples before transmission on wich the average is calculated. |
- Date
- 11/10/2019
Definition at line 35 of file SensorCommunicationLib.cpp.
◆ processSensors()
void SensorCommunicationLib::processSensors |
( |
void(*)() |
getSensorData | ) |
|
This method must be called into the loop()
- Author
- Antonio Cafiero
- Parameters
-
getSensorData | The pointer of the callback routine fo sensors data reading. |
- Date
- 11/10/2019
Definition at line 71 of file SensorCommunicationLib.cpp.
The documentation for this class was generated from the following files: