Comments (3)
Hi Neto, thanks for considering my library. You need to do the library related #define
options before the #include
, otherwise they have no effect.
I will rename DEEP_SLEEP_DELAY to SLEEP_DELAY so I put both below to make sure it still works afterwards.
It should read
#define DEEP_SLEEP_DELAY 2000
#define SLEEP_DELAY 2000
#include <DeepSleepScheduler.h>
#define BUTTON 2
#define BLUE_LED 6
...
Please let me know if that solves your issue, cheers.
from deepsleepscheduler.
I am happy to hear that it works, enjoy.
from deepsleepscheduler.
Pete, thank you very much, the information you gave me helped me a lot, solving the BUG I was presenting and once again thank you very much.
I will be releasing your library to my communities.
Thank you!
from deepsleepscheduler.
Related Issues (14)
- Does not compile for DigiSpark Pro (AtTiny167) HOT 6
- Documentation on used sleep mode HOT 5
- NTP Daily task HOT 3
- Interrupt doesn't work with rotary encoder HOT 7
- Debounce Example HOT 1
- MIN_WAIT_TIME_FOR_SLEEP HOT 3
- Compiler warnings HOT 5
- swap SLEEP_MODE at run time? HOT 3
- External Interrupt HOT 7
- add scheduleOnce() HOT 7
- Does not compile on DOIT ESP32 DEVKIT V1 HOT 1
- multiple definition of '****' HOT 1
- ESP8266 resetting HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepsleepscheduler.