The above is pretty much TRISA= %10. Do you see the possible problem?TRISA = $02 in my Register Settings so that RA1 is set to bit 1 and RA3 is set to bit 0.
And with out more info.. Chip and configs and ... I will have to assume for now.
http://www.picbasic.co.uk/forum/showthread.php?t=561
Bookmarks