Arduino programming:- Void setup and loop

Published: 04 September 2021
on channel: Dr. Anil Kumar Kamboj Official
307
9

Arduino programming basics started with the discussion of void setup and void loop. Comments in Arduino IDE are also discussed. PinMode, delay, and DigitalWrite explained.


Program:- Blinking of LED on pin number 8 of Arduino Uno


const int kPinLed = 8;
void setup(){
pinMode(kPinLed, OUTPUT); }
int ledState = LOW;
void loop()
{
ledState = !ledState;
digitalWrite(kPinLed, ledState);
delay(1000);
}


On this page of the site you can watch the video online Arduino programming:- Void setup and loop with a duration of hours minute second in good quality, which was uploaded by the user Dr. Anil Kumar Kamboj Official 04 September 2021, share the link with friends and acquaintances, this video has already been watched 307 times on youtube and it was liked by 9 viewers. Enjoy your viewing!