mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
263 Impuls added
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@@ -101,11 +101,11 @@ void setup() {
|
||||
just_load = false;
|
||||
initialized = true; //this second POST makes the data to be processed (you don't need to connect as "keep-alive" for that to work)
|
||||
|
||||
static bool firstTime = true;
|
||||
if (firstTime) myImpulsOut = new MyImpulsOutVector();
|
||||
firstTime = false;
|
||||
myImpulsOut->push_back(ImpulsOutClass(500, 10, 13));
|
||||
myImpulsOut->at(0).activate();
|
||||
//static bool firstTime = true;
|
||||
//if (firstTime) myImpulsOut = new MyImpulsOutVector();
|
||||
//firstTime = false;
|
||||
//myImpulsOut->push_back(ImpulsOutClass(500, 10, 13));
|
||||
//myImpulsOut->at(0).execute();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
||||
Reference in New Issue
Block a user