Shop OBEX P1 Docs P2 Docs Learn Events
Switch input — Parallax Forums

Switch input

ArchiverArchiver Posts: 46,084
edited 2000-07-16 01:17 in General Discussion
I am using a 9-position rotary switch as an input to a BS2.
The problem is that I don't have 9 unused I/O pins left.

The Ser-Key serial encoder from Reynolds Electronics looked
like a good solution. However, it needs a key press and
release sequence in order to transmit the key value.

With my rotary switch arrangement the key is always 'pressed'
until the switch position is changed.

Anyone have any ideas - serial conversion, encoder...?

On another subject, does the Parallax PBasic have a line
continuation character? My serout commands to the LCD
display tend to become rather lengthy.

Thanks for the help.

Adolph Stumpf

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-15 02:18
    Adolph:

    Could you tie your rotary switch common to a single series pushbutton and
    push the button after setting the desired position? Then you could use
    Serkey.

    Ray McArthur

    > I am using a 9-position rotary switch as an input to a BS2.
    > The problem is that I don't have 9 unused I/O pins left.
    >
    > The Ser-Key serial encoder from Reynolds Electronics looked
    > like a good solution. However, it needs a key press and
    > release sequence in order to transmit the key value.
    >
    > With my rotary switch arrangement the key is always 'pressed'
    > until the switch position is changed.
    >
    > Anyone have any ideas - serial conversion, encoder...?
    >
    > On another subject, does the Parallax PBasic have a line
    > continuation character? My serout commands to the LCD
    > display tend to become rather lengthy.
    >
    > Thanks for the help.
    >
    > Adolph Stumpf
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-16 01:17
    i belive that its jameco that sells a pot with indents wich mens you can use
    the pot command.
    good luck
    Original Message
    From: <astumpf@u...>
    To: <basicstamps@egroups.com>
    Sent: Friday, July 14, 2000 8:48 PM
    Subject: [noparse][[/noparse]basicstamps] Switch input


    > I am using a 9-position rotary switch as an input to a BS2.
    > The problem is that I don't have 9 unused I/O pins left.
    >
    > The Ser-Key serial encoder from Reynolds Electronics looked
    > like a good solution. However, it needs a key press and
    > release sequence in order to transmit the key value.
    >
    > With my rotary switch arrangement the key is always 'pressed'
    > until the switch position is changed.
    >
    > Anyone have any ideas - serial conversion, encoder...?
    >
    > On another subject, does the Parallax PBasic have a line
    > continuation character? My serout commands to the LCD
    > display tend to become rather lengthy.
    >
    > Thanks for the help.
    >
    > Adolph Stumpf
    >
    >
    >
    >
    >
Sign In or Register to comment.