cgnuino
Public Member Functions | List of all members
CgnPause Class Reference

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.
 

Detailed Description

Examples:
Pause.ino.

Constructor & Destructor Documentation

CgnPause::CgnPause ( byte  p,
bool  b = LOW,
uint16_t  c = 100 
)
Parameters
pPin number of digital input.
bPin value when the task should pause.
cChecking cycle for the task to restart in [ms].

The documentation for this class was generated from the following files: