4자리 카운터 TM1637
0~ 9999까지 증가되는 카운터입니다. 준비물 :아두이노 나노, TM1637, 적외선 포토 커플러, 점프선 #include const int CLK = 4; const int DIO = 5; TM1637Display display(CLK, DIO); const uint8_t blank[] = {0x3f, 0x3f, 0x3f, 0x3f}; int CounterUp = 0; void setup(){ pinMode(2, INPUT_PULLUP); attachInterrupt(0, opti, RISING); display.setBrightness(0x0a); display.setSegments(blank); } void loop(){ } void opti() { CounterUp++; display.showN..