Martin-Laclaustra / CronAlarms

Arduino IDE library for scheduling alarms to occur at specific times with crontab syntax
GNU Lesser General Public License v3.0
53 stars 29 forks source link

Events not triggering with Arduino SAMD Architecture boards #16

Open theely opened 3 years ago

theely commented 3 years ago

When running the example code the scheduled events won't trigger. Based on my limited understanding something is off with the time library.

The time(nullptr) function always returns the same time.

Console output:

Wed Dec 31 23:59:59 1969

Wed Dec 31 23:59:59 1969

Wed Dec 31 23:59:59 1969

Martin-Laclaustra commented 3 years ago

You should first get an example working with the time functions of your SDK without using this library. This library will only work if your SDK implements standard C time functions.