#include "Seg7x4.h"
#define dataPin 2
#define clockPin 3
#define latchPin 4
Seg7x4* pDisplay;
const byte digit[16] =
{
  0b00111111,     // zero
  0b00000110,     // one
  0b01011011,     // two
  0b01001111,     // three
  0b01100110,     // four
  0b01101101,     // five
  0b01111101,     // six
  0b00000111,     // seven
  0b01111111,     // eight
  0b01100111,     // nine
  0b01110111,     // a
  0b01111100,     // b
  0b01011000,     // c
  0b01011110,     // d
  0b01111001,     // e
  0b01110001,     // f
};
void setup()
{
  pDisplay = new Seg7x4(dataPin,clockPin,latchPin);
  pDisplay->init();
}
void loop()
{
  pDisplay->send();
}