I think you need to change your tris settings. Unless I missed something?
You Have
TRISA=0 'All A Port outs
TRISB=15 'All B Port Ins
CMCON=7
Type: Posts; User: mark_s; Keyword(s):
I think you need to change your tris settings. Unless I missed something?
You Have
TRISA=0 'All A Port outs
TRISB=15 'All B Port Ins
CMCON=7