资 源 简 介
#include "TM1637.h"#define CLK 3//pins definitions for TM1637 and can be changed to other ports #define DIO 2TM1637 tm1637(CLK,DIO);void setup(){ tm1637.init(); tm1637.set(BRIGHT_TYPICAL);//BRIGHT_TYPICAL = 2,BRIGHT_DARKEST = 0,BRIGHTEST = 7; tm1637.set(0); tm1637.display(0,0); tm1637.display(1,0); tm1637.display(2,0); tm1637.display(3,0); tm1637.point (0);}void loop(){ //int8_t NumTab[] = {0,1,2,3,4,5,6,7,8,9};//0~9,A,b,C,d,E,F //int8_t ListDisp[4]; int i; int j; int k; int l; // unsigned char i = 0; // unsigned char count = 0; delay(150); while(1) { /*i = count; count ++; if(c