Shama LED

Made by Shama Patwardhan

LED Blinking as an intro to IOT device

Created: October 29th, 2024

0

Intention

To make the LED Blink

0

Process

Connected the led to D2 with the resistor. 

I faced an issue where I connected the wrong arm of the LED to the resistor, so the light didn't blink in the first few tries. I asked classmates for help, and they pointed out my error. 

0

Outcome

The blinking worked!

0

Reflection

It was fun! Writing code is overwhelming, and I'm a little scared, but I'm glad the step-by-step instructions made it easy.

0
// Iint ledPin = D2;
Include Particle Device OS APIs
#include "Particle.h"
void setup() {

    //digitalWrite(ledPin, HIGH); //
    delay(1000);//
    //digitalWrite(lrdPin, LOW); //
    delay(1000);//
    //
}
Click to Expand
x