Tuesday, April 11, 2006

code_test serial

counter var byte
Startcounter VAR BYTE

Startcounter = 0
TRISA = %11111111 ' Set PORTA to all input
ADCON1 = %10000010 ' Set PORTA analog and right justify


main:

serout2 PORTC.6, 16468, [DEC counter ]
counter = Startcounter

goto main

0 Comments:

Post a Comment

<< Home