Skip to content
Snippets Groups Projects
Commit 38b04c90 authored by SirWalross's avatar SirWalross
Browse files

Small updates

parent dd19d5b2
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ while pidof -o %PPID -x "pull.bash">/dev/null; do ...@@ -7,6 +7,7 @@ while pidof -o %PPID -x "pull.bash">/dev/null; do
done done
cd `dirname "$0"`/.. cd `dirname "$0"`/..
echo -e "\n\n#####################################################################"
echo $( date '+%F %H:%M:%S' ) | tee -a bash.log echo $( date '+%F %H:%M:%S' ) | tee -a bash.log
git pull 2>&1 | tee -a bash.log git pull 2>&1 | tee -a bash.log
echo "" | tee -a bash.log echo "" | tee -a bash.log
......
...@@ -26,6 +26,7 @@ void loop() { ...@@ -26,6 +26,7 @@ void loop() {
Serial.println(2); // for identification Serial.println(2); // for identification
for (int i = 0; i < sizeof(dhts) / sizeof(*dhts); i++) { for (int i = 0; i < sizeof(dhts) / sizeof(*dhts); i++) {
dhts[i].readHumidity();
float temp = dhts[i].readTemperature(); float temp = dhts[i].readTemperature();
delay(10); delay(10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment