Hi,
If I'm not mistaken, 'CLRF LATB' is just an alternate way of doing 'CLRF PORTB'. Then in the next command, I'm simply substituting binary for hex, and since I want all 8 pins to be digital I/O's, it is 11111111b instead of '0Fh' that they are using in their illustration. I don't think I'm doing anything wrong there.
Thanks though.
Len
Bookmarks