Quantcast
Channel: fritzing forum - Latest posts
Viewing all articles
Browse latest Browse all 28182

Is it possible perhaps a Daft question

$
0
0

Hi vanepp, thanks for the explanation on the leds & buttons, I have ordered some common anode bi/leds that should sort that problem out. I was finding building the breadboard with everything on it very daunting (worse than overhead view of spaghetti junction) so I reduced your schematic to show only 1 servo, button & led, (find attached) and build the breadboard from that, and pleased to say it nearly works perfectly.

Is it possible to reverse the button; (unless my wiring is wrong)

When I loaded the code, everything was fine ( I am us 2 single anode leds as if it were a bi/anode led ), One led came on and the servo kept on sweeping through its cycle (back & forward), so I pressed the button and it stopped at the end of the cycle and the other led came on, I released the button and the servo started to move in the opposite direction and after about a second I pressed and held it down and stopped at the end of its cycle and the other led came on. so everything worked fine apart from the button being the wrong way round, Terry

schematic update.fzz (21.8 KB)


Viewing all articles
Browse latest Browse all 28182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>