AceSegment  0.7.0
A framework for rendering seven segment LED displays using the TM1637, MAX7219, HT16K33, or 74HC595 controller chips
Public Member Functions | List of all members
ace_segment::TwoWireInterface< T_WIRE > Class Template Reference

A thin wrapper around an I2C TwoWire class and its Wire object. More...

#include <TwoWireInterface.h>

Public Member Functions

 TwoWireInterface (T_WIRE &wire, uint8_t addr)
 
void begin ()
 
void end ()
 
void beginTransmission ()
 
void write (uint8_t data)
 
void endTransmission ()
 

Detailed Description

template<typename T_WIRE>
class ace_segment::TwoWireInterface< T_WIRE >

A thin wrapper around an I2C TwoWire class and its Wire object.

This is a template class to avoid including the <Wire.h> header file, which increases flash memory on AVR by about 1000 byte even if the Wire object is never used.

Definition at line 38 of file TwoWireInterface.h.


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