Pico-Arduino
|
Alarm functions for scheduling future execution. More...
#include <PicoTimer.h>
Public Member Functions | |
void | start (alarm_callback_t callback, uint64_t time, TimeUnit unit=MS, void *user_data=nullptr, bool fire_if_past=true) |
starts the execution of the callback method after the indicated time | |
bool | stop () |
stops the execution | |
Protected Attributes | |
alarm_id_t | alarm_id =-1 |
alarm_pool_t * | ap |
Alarm functions for scheduling future execution.