Controlling LED brightness using potentiometer and arduino

I was doing experiments with my Arduino today and this was one of them. I have commented the code well so it should be easy to understand. Here you go:

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.