Welcome to Day 1 of our IoT Workshop! Today, we introduced the basics of IoT through presentations and hands-on activities, covering topics from setting up your development environment to hardware essentials and simple programming.
Now let's check if your Microcontroller works. Also, you will learn how to upload your first sketch. Basic Blink example:
#include "Arduino.h" void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(LED_BUILTIN, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }