6 switches on 1 input pin
Archiver
Posts: 46,084
Hi,
I have a problem. I’m using a BS2P-24 pins and I only have one “input” pin
left for my push buttons. Is it possible to create something so my
controller would recognize which button has been pressed? I thought that the
LOOKDOWN command would fit perfect. I think about working with the formula
T=R.C (resistance and capacitor) but I haven’t figured out how I could
create it. Could anybody give me a program example also a circuit example so
I can build my circuit board.
Kindly regards
Tim, a student from Belgium
[noparse][[/noparse]Non-text portions of this message have been removed]
I have a problem. I’m using a BS2P-24 pins and I only have one “input” pin
left for my push buttons. Is it possible to create something so my
controller would recognize which button has been pressed? I thought that the
LOOKDOWN command would fit perfect. I think about working with the formula
T=R.C (resistance and capacitor) but I haven’t figured out how I could
create it. Could anybody give me a program example also a circuit example so
I can build my circuit board.
Kindly regards
Tim, a student from Belgium
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
>I have a problem. I’m using a BS2P-24 pins and I only have one “input” pin
>left for my push buttons. Is it possible to create something so my
>controller would recognize which button has been pressed? I thought that the
>LOOKDOWN command would fit perfect. I think about working with the formula
>T=R.C (resistance and capacitor) but I haven’t figured out how I could
>create it. Could anybody give me a program example also a circuit example so
>I can build my circuit board.
>
>Kindly regards
>
>Tim, a student from Belgium
http://www.emesys.com/BS2rct.htm#switches
I have a problem. I’m using a BS2P-24 pins and I only have one “input” pin
left for my push buttons. Is it possible to create something so my
controller would recognize which button has been pressed? I thought that the
LOOKDOWN command would fit perfect. I think about working with the formula
T=R.C (resistance and capacitor) but I haven’t figured out how I could
create it. Could anybody give me a program example also a circuit example so
I can build my circuit board.
Kindly regards
Tim, a student from Belgium
[noparse][[/noparse]Non-text portions of this message have been removed]
command in the Stamp manual. I think there was something in the Nuts & Volts
articles also.
Original Message
I have a problem. I'm using a BS2P-24 pins and I only have one "input" pin
left for my push buttons. Is it possible to create something so my
controller would recognize which button has been pressed? I thought that the
LOOKDOWN command would fit perfect. I think about working with the formula
T=R.C (resistance and capacitor) but I haven't figured out how I could
create it. Could anybody give me a program example also a circuit example so
I can build my circuit board.
See Parallax application note #18 "One pin many switches" on the (very
helpful!) Parallax website.
Dennis
Original Message
From: TLD-NV [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=1fKvD7ISBgEIVkZPJCVpbHOKlksI63EKzXSk9cVLsqHXNlZxdn8eK9yXmkB37I8LmZEXCXShfUiQuMXuArE4LBY]peter.christiaen@s...[/url
Sent: Tuesday, February 11, 2003 1:32 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] 6 switches on 1 input pin
Hi,
I have a problem. I'm using a BS2P-24 pins and I only have one "input"
pin left for my push buttons. Is it possible to create something so my
controller would recognize which button has been pressed? I thought that
the LOOKDOWN command would fit perfect. I think about working with the
formula T=R.C (resistance and capacitor) but I haven't figured out how I
could create it. Could anybody give me a program example also a circuit
example so I can build my circuit board.
Kindly regards
Tim, a student from Belgium
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/