// Subroutine Declarations #include // Subroutines // Main Routine void main(void) { TRISA = 0; TRISB = 0; TRISC = 0; ADCON1 = 0x0F; PORTA = 1; PORTB = 2; PORTC = 3; while(1); }