Skip to content

supermfc/TM1638

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TM1638

a arduino class for 8 digitals 7-seg tube and 2*8 keyboard scan hardware module use TM1638 IC.

module pic

it is very simple and easy to use:

#include "TM1638.h"
//the param is DATA pin,SCLK pin and STB pin
TM1638 tm(2,3,4);
  
  void setup ()
    {
       delay(1000);
       Serial.begin(9600);

      tm.displayFloat(124565.35,2);

     /*
       tm.setDigital(0,0);
       tm.setDigital(1,1);
       tm.setDigital(2,2);
       tm.setDigital(3,3);
       tm.setDigital(4,4);
       tm.setDigital(5,5);
       tm.setDigital(6,6);
       tm.setDigital(7,7);

       delay(1000);
       tm.clear();
       tm.displayInt(123);
       
       tm.setPoint(3);
       */  
           
    }

About

a arduino class for 8 digitals 7-seg tube and 2*8 keyboard scan hardware module use the TM1638 IC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages