Shop OBEX P1 Docs P2 Docs Learn Events
PBasic: INPUT, DIR — Parallax Forums

PBasic: INPUT, DIR

koolitudekoolitude Posts: 37
edited 2007-04-15 15:12 in BASIC Stamp
Are the following codes the same?

1) INPUT 8

2) DIR8 = 0

Are they also doing the same job of setting PIN8 as an input?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-04-15 15:12
    They are functionally the same. I'm not sure if they produce the same interpretive codes.
Sign In or Register to comment.