now publishes every 60 seconds
This commit is contained in:
parent
68d45f6363
commit
28dfd4a9f4
@ -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
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#include <common.h>
|
||||
#include <lightChecker.h>
|
||||
|
||||
// Bool to check if light is already active
|
||||
bool lightActive = false;
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
void setupPWM();
|
||||
void setValueNM(int NM);
|
||||
void triggerLight();
|
||||
void triggerLight();
|
||||
void getColorBasedOnValueNM(int valueNM);
|
||||
Loading…
Reference in New Issue
Block a user