An awesome library for the 7 segment displays.

Dependencies:   mbed

main.cpp

Committer:
dimmu8410
Date:
2016-02-13
Revision:
1:4aefe4ad20a6
Parent:
0:916a5376859c

File content as of revision 1:4aefe4ad20a6:

#include "mbed.h"
#include "seven.h"

int main()
{
  seven disp;
  
  disp.conf(PA_0,PA_1,PA_4,PB_0,PC_1,PC_0,PA_10);
  while(1)
  {
    for(int i=0;i<20;i++)
    {
        disp.printA(i);
        wait(0.25);
    }    
  }  
}