Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 486 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 486 Bytes

ParticleCyclicalTimer

Simple use ON- OFF style timer for Particle Photon and Electron

Disclaimer

Library still a work in progess, Feeback appreciated :)

Methods

//Create an instance of cycleTimer with the following times

cycleTimer(byte ONhour, byte ONmin, byte OFFhour, byte OFFmin);

//Returns boolean if this timer is active

isActive();

//Set on time for this timer

setOnTime (byte hour, byte min);

//Set off time for this timer

setOffTime (byte hour, byte min);