Sensor Communication Library  0.2.0
Public Member Functions | Public Attributes | List of all members
SensorCommunicationLib Class Reference

Public Member Functions

 SensorCommunicationLib (int NumberOfSensors=10)
 
void processSensors (void(*getSensorData)())
 

Public Attributes

float Sensors [MAXNUMOFSENSORS]
 

Detailed Description

Definition at line 15 of file SensorCommunicationLib.h.

Constructor & Destructor Documentation

◆ SensorCommunicationLib()

SensorCommunicationLib::SensorCommunicationLib ( int  NumberOfSensors = 10)

This method is the constructor of the SensorCommunicationLib

Author
Antonio Cafiero
Parameters
NumberOfSensorsThe number of sensors value to transmit as a stream of csv (max 10)
Date
11/10/2019

Definition at line 34 of file SensorCommunicationLib.cpp.

Member Function Documentation

◆ processSensors()

void SensorCommunicationLib::processSensors ( void(*)()  getSensorData)

This method must be called into the loop()

Author
Antonio Cafiero
Parameters
getSensorDataThe pointer of the callback routine fo sensors data reading.
Date
11/10/2019

Definition at line 69 of file SensorCommunicationLib.cpp.


The documentation for this class was generated from the following files: