From the manual.
INPUT Make pin an input.
OUTPUT Make pin an output
Also PBP convention:-
MCB VAR PORTA.2
Symbol is Stamp compatibility, not that it really matters if you so wish.
You also have missing parameters in first lines for ADCON, TRIS etc either % or 0 or 1's
Bookmarks