Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/07/02 22:11
Read: times


 
#18431 - RE: Led/Button
Flikweert,

Couldn't you pulse the pin. If you use a momentary switch you could, perhaps;

LED ON Mode: Pulse the Pin so that the duty cycle illuminates the LED. If the switch is pressed (gnd's the pin) the ON period of the Pulse will not readback as ON.

LED OFF Mode: Pulse the PIN so that the duty cycle does not illuminate the LED. The Switch performs as above.

Switch Debounce: Will have to be ratio-metric appropriate to PIN state.

glad it's your job.

regards,
p


List of 8 messages in thread
TopicAuthorDate
Led/Button            01/01/70 00:00      
RE: Led/Button            01/01/70 00:00      
RE: Led/Button            01/01/70 00:00      
RE: Led/Button            01/01/70 00:00      
RE: This is not the end of it:            01/01/70 00:00      
RE: This is not the end of it:            01/01/70 00:00      
RE: This is not the end of it:            01/01/70 00:00      
RE: This is not the end of it:            01/01/70 00:00      

Back to Subject List