My first time encountering Arduino. Seems interesting. Are setup()
and loop()
the default functions that you have to fill?
You are viewing a single comment's thread from:
My first time encountering Arduino. Seems interesting. Are setup()
and loop()
the default functions that you have to fill?
Yes mam, they are required functions in arduino, otherwise it will show compilation errors.
The code that you put inside void setup() will only run once, and that will be at the beginning of your program, Code within void loop() function repeat consecutively until Arduino is turned off.
Oh nice to know. At least I learned something. Thanks for explaining!