cgnuino
|
Temporally pauses task progression by digital-in pin state. More...
#include <cgnuino.h>
Public Member Functions | |
CgnPause (byte, bool=LOW, uint16_t=100) | |
Constructor. More... | |
void | check () |
Checks the designated digital-in pin for pausing. | |
CgnPause::CgnPause | ( | byte | p, |
bool | b = LOW , |
||
uint16_t | c = 100 |
||
) |
p | Pin number of digital input. |
b | Pin value when the task should pause. |
c | Checking cycle for the task to restart in [ms]. |