Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp I/O questions — Parallax Forums

Basic Stamp I/O questions

ArchiverArchiver Posts: 46,084
edited 2003-02-04 00:47 in General Discussion
For Example, if I have a parallel 8-bit ADC wired to the first 8 pins
of the stamp(2p) and do the following

DIRL = 0 'Setting the lowest 8 pins as inputs

#1 If I then say...
Y VAR byte

Y = INL
Will Y contain the value of the ADC that can be manipulated like any
variable?


#2 If the above logic is correct. Could I mask off the last 7 bits
by Y && $7f?

Thank you for any help in advance!
Sign In or Register to comment.