Connecting and using a Push button with an Arduino UNO.

Connecting and using a Push button with an Arduino UNO.

Hello guys,br Welcome to Learning Microcontrollers youtube Channel,br br Guys I have also compiled course on Udemy as well. Where you will learn under my direct supervision in a more supervised way.br Here is the links to the courses I have on Udemy, By taking any of these courses you will be supporting my channel aswell.br This will help me to make more videos with better hardware in the future. I hope you look forward to it.br Courses Links:br br 1- 2- 3- 4- 5- #circuitdiagram #circuitdiagram #simulator #simulation #proteus #proteus8 #pic16f877a #arduinotutorial #electronictutorial #embedding #embeddedprojects #embeddedsystem #embeddedprojectcenters #embeddedsystem #diy #diycrafts #diyideas #diyproject #diyarbakır #toggle #toggleswitch #switch #bluetooth #hc05 #wireless br br Arduino Code:br br int readButton;br int count;br void setup() {br pinMode(7,INPUT); in our cfg if button is pressed a 1 is sentbr digitalWrite(7,LOW); Intially turning button pin 0br Serial.begin(9600);br count=0;br }br br void loop() {br readButton = digitalRead(7);br br if (readButton == 1 )br {br Serial.println("****Button Pressed****");br delay(200);br count = count+1;br Serial.


User: Learning Microcontrollers

Views: 0

Uploaded: 2024-12-08

Duration: 13:33