This code snippet will get the button value and display the value on the 7 Segment LED and the LEDs
TM1638 Chip Key Display Module
Code
#include <TM1638.h> // define a module on data pin 8, clock pin 9 and strobe pin 10 TM1638 module(8, 9, 10); byte buttons; void setup() { } void [...]
The post Arduino and Tm1638 button example appeared first on Arduino Learning.