Shop OBEX P1 Docs P2 Docs Learn Events
multiple switches for one pin? — Parallax Forums

multiple switches for one pin?

TonyATonyA Posts: 226
edited 2005-09-29 16:35 in BASIC Stamp
Hi,

I remember seeing this somewhere, about adding multiple switches for one input pin. Can someone refer me to the sources?
Thanks for your help.

Tony A

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2005-09-29 16:24
    Tony,

    Can't find the exact reference at the moment, but I think the scheme used the RCTIME function. Basically, the resistance seen by the pin was changed as each of several switches opened and closed.
    Probably someone will jump in with exactly what you're looking for.

    Cheers,

    Tom Sisk
  • TonyATonyA Posts: 226
    edited 2005-09-29 16:35
    Tom,

    Thanks for the info. I didi as search and found what your refered to. It uses a resistor ladder (I think it's called). I wonder if the same thing can be used with piezo discs acting as switches.

    I'm trying to get 12 piezos which will act as switches into one pin.

    Thanks again,
    Tony
Sign In or Register to comment.