Shop OBEX P1 Docs P2 Docs Learn Events
BS2P qusition — Parallax Forums

BS2P qusition

Silver242Silver242 Posts: 12
edited 2009-05-20 22:21 in BASIC Stamp
Hello,

·· I have a basic stamp 2p 40 pin , and my qusition is how can i write a program that turn led on· in pin p15·or x15 for example,

Do
·high 15
··pause 200
· low 15
· pause 200
· loop
·how it will know that i meant p15 not x15 and thank you.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-05-20 22:21
    Read the Stamp Manual chapters on the MAINIO and AUXIO statements. When the BS2p40 is reset, it starts with the primary set of I/O pins (p0-p15).
Sign In or Register to comment.