I'd like to implement multiple ADC channels. I'm using pic18f4520. Here is my main code for one channel (I'm sorry I cant find how to put in a code box): TRISB = 0x00; /* Configure Port B as O/P */ TRISA = 0xFF; /* Configure Port A as i/Ps for ADC */ TRIS..
↧