Docsity

IOT Practical 3 code TE AIDS SPPU 2024 Pattern, Study Guides, Projects, Research of Internet and Information Access

Partial preview of the text

Download IOT Practical 3 code TE AIDS SPPU 2024 Pattern and more Study Guides, Projects, Research Internet and Information Access in PDF only on Docsity!

#define LED 13 //Digital Pin 13 D13 as GPIO Pin void setup() { pinMode(LED, OUTPUT); } void loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }

OUTPUT: