The job is to read and ADC and put the result on an LCD. I have gone over the manual multiple times and can't find a way to write a byte to 8 output pins.
Presumably after the ADC read you would have the result in string format in something like:
Code: Select all
dim lcdout$(4)
lcdout$=bin$(adcreading,4)
for i=1 to 4 step 1
character= lcdout(i)
' ?? here would go the byte move ??
next i
In PIC assembler you have
movf filereg1,w
movwf portc
Mark