Shop OBEX P1 Docs P2 Docs Learn Events
Read multiple I/O pin''s — Parallax Forums

Read multiple I/O pin''s

ArchiverArchiver Posts: 46,084
edited 2003-11-29 19:16 in General Discussion
At 09:46 AM 11/29/03 +0000, henkdenbroeder wrote:

>how can I read 8 I/O pins at ones and put them in one variable in
>PBasic
>
>thanks for helping
>Henk den Broeder

DATA VAR Byte

DATA = INH 'Pin ports 8-15

or

DATA = INL 'Pin ports 0-7

Hope that's what you were seeking.

Regards,

Bruce Bates
Sign In or Register to comment.