Shop OBEX P1 Docs P2 Docs Learn Events
P0 to P15 — Parallax Forums

P0 to P15

JLampeJLampe Posts: 7
edited 2009-03-15 14:53 in BASIC Stamp
How do I get P0 to P15 as well P1 to P14 on my Basic stamp. I'm trying to just get it to work like a pice of wire.·And have them separate of each other P0 to P15 and P1 to P14 so that P0 and P1 don't have the same conections to each other.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-03-14 17:32
    You need to explain better, perhaps include a diagram of what you want to do and why. Your explanation doesn't make much sense.
  • Craig EidCraig Eid Posts: 106
    edited 2009-03-14 17:33
    The BASIC Stamp 2 has 16 I/O pins - you can individually address them as inputs with a bit wide name using IN0, IN1, ...IN15. They can also be individually addressed as outputs with a bit wide name using OUT0, OUT1, ...OUT15 and you can individually set the direction with a bit wide name using DIR0, DIR1, ...DIR15. There is more detailed information in the Help file - use the index feature and type in the keyword PINS.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ························ Craig Eid


    ··········· Triad Research and Development
    Electical Engineering Design and Consulting Services

    ··················· www.TriadRD.com
  • remmi870remmi870 Posts: 79
    edited 2009-03-15 14:53
    i think what your trying to do is having a physical connection to the pins in question without the connections actualy touching?
Sign In or Register to comment.