This example demonstrates how to read analog input from a potentiometer.
Using a Photoresitor and a Pieze element, we are going to make a Light-based Theremin.
Controlling multiple LEDs with a for loop. Demonstrates the use of a for() loop. Lights multiple LEDs in sequence, then in reverse.
This project is for illustration purposes only.
This may not have any practical application in real world.
But I believe this will help the beginners in understanding something about the working of Arduino Pins.
This was just for illustration purpose only.
As @Gerson rigtly pointed out there was no need of a transistor in this case.
My first project on Arduino is with only a LED (without transistor).
Please check the link below:
Sure, I 'd be happy to work with you.
Or connect with your social account:
New here? Create an account