View Single Post
  #8   Report Post  
Posted to alt.electronics
Farce Milverk Farce Milverk is offline
external usenet poster
 
Posts: 11
Default Momentary Hi / Low switch Held High with resistor - How to add LED?

=

best way is to put the led and resistor in parallel with the pull-up
resistor

+--|---[330]---+ T
| | ~~~
+5 +---[10k]-------+-+--o o------+ ground
|
+------ out

led goes on, out goes low, when button pressed


if you want the led to go out use a NC switch and turn the circuit round
the
other way.



I will try this once more tomorrow - I could not get this to work, same
problem.