AceSegment  0.8.0
A framework for rendering seven segment LED displays using the TM1637, MAX7219, HT16K33, or 74HC595 controller chips
Static Public Member Functions | List of all members
ace_segment::ClockInterface Class Reference

A utility class (all methods are static) that provides a layer of indirection to Arduino clock functions (millis() and micros()). More...

#include <ClockInterface.h>

Static Public Member Functions

static unsigned long micros ()
 Get the current micros

 
static unsigned long millis ()
 Get the current millis

 

Detailed Description

A utility class (all methods are static) that provides a layer of indirection to Arduino clock functions (millis() and micros()).

This thin layer of indirection allows injection of a different ClockInterface for testing purposes. For normal code, the compiler will optimize away the extra function call.

Definition at line 40 of file ClockInterface.h.


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