freesprited
New Member
are there any compilers that you can download and use for PIC16F84A.
it is one of my subjects at uni and i needed a hand with it.
when stetting up the ports, if we want porta set up as inputs and port b as upper 4 bits as inputs and lower 4 bits as outputs.........
why is it set up in the following manner?
f equ 1
w equ 0
porta equ 5
trisa equ 85
porta equ 6
trisa equ 86
it is one of my subjects at uni and i needed a hand with it.
when stetting up the ports, if we want porta set up as inputs and port b as upper 4 bits as inputs and lower 4 bits as outputs.........
why is it set up in the following manner?
f equ 1
w equ 0
porta equ 5
trisa equ 85
porta equ 6
trisa equ 86