SpellFoundry / SleepyPi2

Power Management board for Raspberry Pi
http://spellfoundry.com/sleepypi2
GNU General Public License v2.0
17 stars 15 forks source link

Questions about the setTimer1 and ackTimer1 functions #16

Open jsec83 opened 5 years ago

jsec83 commented 5 years ago

Hi,

I try to understand Arduino code for Sleepy Pi 2 in order to modify an example to do new things with the Sleepy Pi 2. Do you have any documentation about setTimer1 and ackTimer1 functions?

I suppose that setTimer1 define the timer but when the timer is finished, which part of the code is executed? There is no if statement or something indicating that a code part is executed only when the timer is finished.

Thanks in advance.