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  CgnControl
 Communicates with external control apprication running on the PC. More...
 
class  CgnDI
 Offers convenient digital-in buffering. More...
 
class  CgnDO
 Emits asynchroneous digital-out. More...
 
class  CgnData
 Stores trial information and print it to the Serial. 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  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  CgnTone
 Emits asynchroneous tone output. 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

constexpr uint32_t ULONG_MAX = 4294967295
 Maximal value for unsigned long.
 
constexpr byte BYTE_MAX = 255
 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.
 

Detailed Description

Header file for cgnuino library.

Author
Kei Mochizuki