Shop OBEX P1 Docs P2 Docs Learn Events
Double Digit Counter — Parallax Forums

Double Digit Counter

w. williamsw. williams Posts: 9
edited 2005-03-15 17:31 in BASIC Stamp
Does anyone have the code for a double digit counter using one switch?· attached is the code for a single digit counter with a switch.· Can i modify this code?· I'm using the BS2 on the NX1000.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-03-15 16:54
    No code attached, but it shouldn't be too hard to add a second digit if you study the single-digit code.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Parallax Tech Support
    csavage@parallax.com
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-03-15 17:31
    If you're using 7-segment outputs you'll need to mutliplex them as the data lines are all common. This is a little tricky, but there is an experiment in StampWorks that shows you how to do it manually.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.