- By Paulsin
- |
- 4 digit UP counter module using CD4026, Electronic Modules, Electronics, General Blog
- |
- 191 Views
- |
- 0 Comment
- |
Circuit is done as shown in the diagram.
Watch the video demonstration to see the working.
Circuit is done as shown in the diagram.
Watch the video demonstration to see the working.
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,Circuit is done as shown in the diagram. Upload the following program to Arduino UNO.
// the setup function runs once when you press reset or power the board void setup() { pinMode(2, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(2, HIGH); // turn the LED on (HIGH is the voltage level) delay(100); // wait for 100 mS digitalWrite(2, LOW); // turn the LED off by making the voltage LOW delay(100);