Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 vote

LED will fade in but not fade out

It worked for me but it's slow. 251 iterations (of each loop) at 0.1 sec/loop takes 25 seconds up and 25 seconds down. When I reduced the delay to 10msec, the behavior was much more obvious.
JRobert's user avatar
  • 15.3k
1 vote

LED will fade in but not fade out

Well, provided that you hooked up the led to the right pin, it actually does. The point is human sight is quite imperfect. When light source becomes too bright we stop seeing shades. Also, we can see ...
Matt's user avatar
  • 147

Only top scored, non community-wiki answers of a minimum length are eligible