now publishes every 60 seconds

This commit is contained in:
Sebastian 2020-07-23 13:09:27 +02:00
parent 68d45f6363
commit 28dfd4a9f4
3 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#include <Arduino.h>
// PUBLISH FREQUENCY (MS)
#define FREQUENCY 20000
#define FREQUENCY 60000
// fix for core panic during wifi initialization
// #define configMINIMAL_STACK_SIZE 4096

View File

@ -1,4 +1,5 @@
#include <common.h>
#include <lightChecker.h>
// Bool to check if light is already active
bool lightActive = false;

View File

@ -1,3 +1,4 @@
void setupPWM();
void setValueNM(int NM);
void triggerLight();
void triggerLight();
void getColorBasedOnValueNM(int valueNM);