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::SensorArray
SensorArray(const int Sensor1, const int Sensor2, const int Sensor3, const int LoadIndicatorLED)
Construct a new Sensor Array object.
Definition:
SensorArray.cpp:21
SensorArray::getSensorData
bool getSensorData()
Read the Sensor Values.
Definition:
SensorArray.cpp:34
SensorArray::pLoadIndicatorLED
const int pLoadIndicatorLED
Pin for loadindicator LED.
Definition:
SensorArray.h:54
LogConfiguration.h
Contains Pre-Compiler directives for diffent Serialprints for Datalogin.
SensorArray
The Class SensorArray detects the box fill level.
Definition:
SensorArray.h:27
SensorArray::pSensor3
const int pSensor3
Pin LevelDetector 3.
Definition:
SensorArray.h:53
SensorArray::pSensor1
const int pSensor1
Pin LevelDetector 1.
Definition:
SensorArray.h:51
SensorArray::pSensor2
const int pSensor2
Pin LevelDetector 2.
Definition:
SensorArray.h:52
lib
SensorArray
SensorArray.h
Generated by
1.8.15