Hi,
I have a project that uses LowPower library. I use VSCode, so to be able to load the sources into SimulIDE I copy all the files, included the library into a folder. I rename the main.cpp to whatever_name.ino inside a whatever_name ino folder and compile from SimulIDE. Everything ok, but when it comes to running the sketch it won't execute the lines referring to LowerPower. Do you see what I mean?
More precisely a line like:
ciclosEsoera can range between 1 and 37 depending on DEBUG. It always is 1.
I have a project that uses LowPower library. I use VSCode, so to be able to load the sources into SimulIDE I copy all the files, included the library into a folder. I rename the main.cpp to whatever_name.ino inside a whatever_name ino folder and compile from SimulIDE. Everything ok, but when it comes to running the sketch it won't execute the lines referring to LowerPower. Do you see what I mean?
More precisely a line like:
- Code:
for(uint16_t i = 0; i < ciclosEspera; i++) {
LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
}
ciclosEsoera can range between 1 and 37 depending on DEBUG. It always is 1.