SmartBox-Sortic
SmartFactory
SensorArray.h
Go to the documentation of this file.
1 
17 #ifndef SENSORARRAY_H
18 #define SENSORARRAY_H
19 
20 #include <Arduino.h>
21 #include <LogConfiguration.h>
22 
27 class SensorArray {
28  public:
37  SensorArray(const int Sensor1, const int Sensor2, const int Sensor3, const int LoadIndicatorLED);
38 
48  bool getSensorData();
49 
50  private:
51  const int pSensor1;
52  const int pSensor2;
53  const int pSensor3;
54  const int pLoadIndicatorLED;
55 };
56 
57 #endif
SensorArray(const int Sensor1, const int Sensor2, const int Sensor3, const int LoadIndicatorLED)
Construct a new Sensor Array object.
Definition: SensorArray.cpp:21
bool getSensorData()
Read the Sensor Values.
Definition: SensorArray.cpp:34
const int pLoadIndicatorLED
Pin for loadindicator LED.
Definition: SensorArray.h:54
Contains Pre-Compiler directives for diffent Serialprints for Datalogin.
The Class SensorArray detects the box fill level.
Definition: SensorArray.h:27
const int pSensor3
Pin LevelDetector 3.
Definition: SensorArray.h:53
const int pSensor1
Pin LevelDetector 1.
Definition: SensorArray.h:51
const int pSensor2
Pin LevelDetector 2.
Definition: SensorArray.h:52