Shop OBEX P1 Docs P2 Docs Learn Events
Multiple button depresses... — Parallax Forums

Multiple button depresses...

ArchiverArchiver Posts: 46,084
edited 2002-10-02 14:40 in General Discussion
Greetings,

Trying to create a menu system ala HP laser printer- select
categories with one button, use two others to change up or down.
There are approximately 7-8 parameters that need to be monitored and
adjusted.

On the other hand, the hardware is not built yet, is this something
that might be better hardwired via buttons- one per Stamp i/o pin? If
so, can you press (for example)the button connected to P3, hold it
and then also press P5/P6 to raise/lower the value?

I need to still have a good deal of room for code, as well.

Really just grasping here...Any help is appreciated

Tim

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-10-01 16:30
    I would use an optical encoder with a switch on the knob. Digi-Key has some
    cool ones for $25-30. Turn the knob to scroll through the menu and press
    down on it to select. The coolness factor is much higher than three buttons.
    This would take 3 pins as well.

    Original Message

    > Trying to create a menu system ala HP laser printer- select
    > categories with one button, use two others to change up or down.
    > There are approximately 7-8 parameters that need to be monitored and
    > adjusted.
    >
    > On the other hand, the hardware is not built yet, is this something
    > that might be better hardwired via buttons- one per Stamp i/o pin? If
    > so, can you press (for example)the button connected to P3, hold it
    > and then also press P5/P6 to raise/lower the value?
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-02 14:40
    Just use the 74hc165 parallel in, serial out. Only take 3 pins to get as
    many inputs as you want.

    Original Message
    From: ohiotim2 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=z4tEHpyYeNwdujAbNBe53VNY1U1gT782Jy4im7sl-p9DA4qhmGJ349-JXjMAEunGNeg699VgDbsJGQdzujBfIQ]tweaver@i...[/url
    Sent: Tuesday, October 01, 2002 11:27 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Multiple button depresses...

    Greetings,

    Trying to create a menu system ala HP laser printer- select
    categories with one button, use two others to change up or down.
    There are approximately 7-8 parameters that need to be monitored and
    adjusted.

    On the other hand, the hardware is not built yet, is this something
    that might be better hardwired via buttons- one per Stamp i/o pin? If
    so, can you press (for example)the button connected to P3, hold it
    and then also press P5/P6 to raise/lower the value?

    I need to still have a good deal of room for code, as well.

    Really just grasping here...Any help is appreciated

    Tim


    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/



    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.