The Sensors have a unique ID and can be used in a bus configuration on one
gpo pin,
but we are using one pin/bus per sensor and only read the first sensor
on a bus to be able to change the sensors later without changing the code.
in order to use the DHT_sensor_library the setup of the Truhen is moved
into the setup routine.
The log, updateLCD and printName funtions are removed, logic is handled
in the loop with help of new getter and setter methods.
in order to use the DHT_sensor_library the setup of the Truhen is moved
into the setup routine.
The log, updateLCD and printName funtions are removed, logic is handled
in the loop with help of new getter and setter methods.
Funktionierende Steuerung nach dem Zeltlager. Die DHT Lib die verwendet
wurde ist im Commit mit drin
Eine Truhe ist jetzt eine Klasse, welche u.a. den Pin des Sensors und des
Relay nimt. In dem Array können mehrere Truhen angelegt werden.
der Interrupt soll die Sekunden hochzählen, problem ist halt, dass der
loop in einer Sekunde mehrmals durchlaufen kann. hätte aber auch ein einfache boolean
geregelt. EEEglaaal