The document describes 3 experiments using an Arduino board to control LEDs. The first experiment fades two LEDs synchronously. The second fades two LEDs asynchronously. The third uses a push button to control a single LED, allowing it to be turned on and off. Each experiment lists the components, circuit, code, and result.
The document describes 3 experiments using an Arduino board to control LEDs. The first experiment fades two LEDs synchronously. The second fades two LEDs asynchronously. The third uses a push button to control a single LED, allowing it to be turned on and off. Each experiment lists the components, circuit, code, and result.
The document describes 3 experiments using an Arduino board to control LEDs. The first experiment fades two LEDs synchronously. The second fades two LEDs asynchronously. The third uses a push button to control a single LED, allowing it to be turned on and off. Each experiment lists the components, circuit, code, and result.
RESULT: We can see the two LEDS fade alternatively
EXPERIMENT 3 : CONTROL THE LED USING PUSH BUTTON AIM: To glow/control the LED using push button COMPONENTS USED: Arduino board Resistors LED Push button CIRCUIT:
CODE:
RESULT: We can see that the LED can be controlled using