Switch input
Archiver
Posts: 46,084
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
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
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
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
>
>
>
>
>