This commit is contained in:
Alex
2019-06-13 15:58:26 +03:00
parent 6597bf74d4
commit b93c4978ef
4 changed files with 11 additions and 7 deletions

View File

@@ -127,6 +127,9 @@ void setup() {
FastLED.clear();
FastLED.show();
randomSeed(analogRead(0)); // пинаем генератор случайных чисел
touch.setStepTimeout(100);
touch.setClickTimeout(500);
Serial.begin(115200);
// WI-FI
@@ -189,8 +192,7 @@ void setup() {
Udp.write(reply);
Udp.endPacket();
timeClient.begin();
touch.setStepTimeout(100);
timeClient.begin();
}
void loop() {