Close

Learn

Arduino IDE Quick Programming Guide

STRUCTURE Every Arduino program (also called sketch) has two required functions. void setup() { } All the code between the two curly brackets will run once when Arduino is powered up. It’s a good place to do setup tasks like setting pin modes or initialising libraries. void loop() { } This function runs after setup […]

Read More

Using Functions in Arduino IDE

When you have a code that performs a specific task (for example, to play a series of notes),  you could put that code as a function. Whenever you need to play the song, you can just call that function instead of typing the code multiple times. When you use functions, you make it easier to […]

Read More