Hi,
First you set TRISA to $85 and then overwrite with 255 using the POKE command, same goes for TRISB, seems strange to me but is probably not related to your problem.
You didn't say what PIC you are using??
BTW, even though they still work it is recomended to not use the PEEK/POKE commands.
/Henrik Olsson.




Bookmarks