1st Class link: • C-1: Basic Concept of Arduino Programming ...
The long leg is typically positive, and should connect to a digital pin on the Arduino board. The short leg goes to GND; the bulb of the LED will also typically have a flat edge on this side. In order to protect the LED, you will also need use a resistor "in series" with the LED.
Set the pin to HIGH (5V), this will turn the LED on. Wait for 1000 milliseconds, or one second. Set the pin to LOW (0V), cutting the power to the LED and turning it off. Wait for another second, and then repeat everything again
The blink program uses the LED (light-emitting diode) built into Maker Board to flash on and off. To do that, you need to tell Maker Board that the LED is an OUTPUT that should be turned on (HIGH) and off (LOW) with a pause between each command.
LED bulb flickering can be traced in almost every instance to a non-compatible dimmer switch in the lighting circuit. ... LED bulbs don't have glowing filaments. When the dimmer switch goes off and on many times per second, the LED bulb becomes a flickering strobe light.
FB support Group: facebook.com/groups/cyberschoolarduino/
Thank you
Cyber School