cgnuino
Classes | Macros | Variables
cgnuino.h File Reference

Header file for cgnuino library. More...

#include "Arduino.h"
Include dependency graph for cgnuino.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CgnDI
 Offers convenient digital-in buffering. More...
 
class  CgnDO
 Emits asynchroneous digital-out. More...
 
class  CgnLogger
 Logs arbitorary bit change similar to CgnDI class. More...
 
class  CgnPause
 Temporally pauses task progression by digital-in pin state. More...
 
class  CgnPeriod
 Remembers current task period and its time constraint. More...
 
class  CgnSerial
 Communicates with external control apprication running on the PC. More...
 
class  CgnStopwatch
 Measures time difference in milliseconds. More...
 
class  CgnStrobe
 Emits a text as one-by-one characters using (8 + 1)-bit digital-out. More...
 
class  CgnValtiel
 Monitors average length of executed loops on Arduino. More...
 

Macros

#define countof(array)   (sizeof(array) / sizeof(array[0]))
 Replaced by the length of the array when compiled.
 

Variables

const uint32_t ULONG_MAX
 Maximal value for unsigned long.
 
const byte BYTE_MAX
 Maximal value for byte.
 
constexpr byte N_CGNDI = 10
 Number of pins that can be simultaneously set for a CgnDI instance.
 
constexpr byte N_CGNDO = 10
 Number of pins that can be simultaneously set for a CgnDO instance.
 
constexpr byte N_CGNVALTIEL = 20
 Number of buffers CgnValtiel, speed checker for main loop, can holds.
 

Detailed Description

Header file for cgnuino library.

Author
Kei Mochizuki