Hmm...PortA...have you disabled the analog functions (ADCON1 and CMCON registers, I believe)?
Have you verified (logic analyzer or scope) that the expected data does appears on the pins?
Type: Posts; User: HenrikOlsson; Keyword(s):
Hmm...PortA...have you disabled the analog functions (ADCON1 and CMCON registers, I believe)?
Have you verified (logic analyzer or scope) that the expected data does appears on the pins?
Looks like you're shifting out $1180 divided by 16, truncated to 8 bits, so $22. That's not what you want, is it?
Be careful with / vs \ ;-)