fyrus
1
Hi all, i try to use the LowPower library in my sketch but it wont work, the board wont sleep.
Can anyone help me with this problem? I want to make it sleep if no activity and wake by a press of any button (or wake by D2 button).
I just follow the example sketch and insert it to my sketch. Nothing happens
if anyone can help i will post the project code im doing here (a very long code)
Thanks
srnet
2
Well since we are presuming that you got the example sketch to work, it must be a problem with your sketch.
fyrus
3
I want to attach full code but its too long, the forum wont accept it
Link: https://github.com/fyrus7/FYRUS_LM/blob/main/SKETCH/FYRUS_LM/FYRUS_LM.ino
alto777
4
Where in that 1000+ line thing is your attempt to put it to sleep?
a7
fyrus
5
There is none, its the code without lowpower.h
srnet
6
So how do you think the forum will be able to tell you why the mystery code you add to the sketch does not work ?
Which board? ProMini, Uno, ... or a dedicated board?
Did the example sketch give the expected result?
How do you know? What do you expect?
Dangerous 
system
Closed
8
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.