- By Paulsin
- |
- 4 digit UP counter module using CD4026, DIY Electronic Boards, Electronic Modules, Electronics, General Blog, Hobby Electronic kits
- |
- 748 Views
- |
- 0 Comment
- |
Circuit is done as shown in the diagram. Upload the following program to Arduino UNO.
const int CLK = 2; const int RESET = 3; int count = 0; int countLimit = 36; // the setup function runs once when you press reset or power the board void setup() { pinMode(CLK, OUTPUT); pinMode(RESET, OUTPUT); digitalWrite(RESET, HIGH); delay(100); digitalWrite(RESET, LOW); } // the loop function runs over and over again forever void loop() { digitalWrite(CLK,