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

A utility lass that provides a thin layer of indirection to various GPIO functions. More...

#include <GpioInterface.h>

Static Public Member Functions

static void digitalWrite (uint8_t pin, uint8_t value)
 Write value to pin.
 
static void pinMode (uint8_t pin, uint8_t mode)
 Set pin mode.
 

Detailed Description

A utility lass that provides a thin layer of indirection to various GPIO functions.

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

Definition at line 39 of file GpioInterface.h.


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