TaskManagerIO
Loading...
Searching...
No Matches
TmLongSchedule.h File Reference

long schedule support for task manager More...

Go to the source code of this file.

Classes

class  TmLongSchedule

Functions

uint32_t makeHourSchedule (int hours, int minutes=0, int seconds=0, int millis=0)
uint32_t makeDaySchedule (int days, int hours=0)

Detailed Description

long schedule support for task manager

Function Documentation

◆ makeHourSchedule()

uint32_t makeHourSchedule ( int hours,
int minutes = 0,
int seconds = 0,
int millis = 0 )

Make a schedule based around hours for a TmLongSchedule

Parameters
hoursthe number of hours
minutesthe number of minutes within the hour
secondsthe number of seconds within the minute
millisthe number of millis within the second
Returns
the schedule value

◆ makeDaySchedule()

uint32_t makeDaySchedule ( int days,
int hours = 0 )

Make a schedule for daily execution in days

Parameters
daysthe number of days.
Returns
the schedule value