arduino-tutorials.com
Arduino Programming: Sketch Structure
Every time you open a new sample sketch from the Arduino IDE, there are always 2 important functions in every Arduino sketch. They are setup() and loop() functions. setup() function is used to init…