Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
azzibom committed Aug 29, 2021
1 parent 0641273 commit 9bb5944
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions firmware/TroykaClock.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ void setup() {
clock.begin(); // инициализация часов
dht.begin(); // инициализация термометра/


// метод установки времени и даты в модуль вручную
// clock.set(10,25,45,27,07,2005,THURSDAY);
// clock.set(10,25,45,27,07,2005,THURSDAY);
// метод установки времени и даты автоматически при компиляции
// clock.set(__TIMESTAMP__);
// clock.set(__TIMESTAMP__);
}

bool dhtRead = false; // флаг чтения данных с DHT
Expand Down Expand Up @@ -73,4 +72,4 @@ void loop() {
qd.displayScore(hour, minute, true);
}
delay(500);
}
}

0 comments on commit 9bb5944

Please sign in to comment.