I made a 8 bits joystick with a PIC18F4553, and now I'd like to convert it in a 12 bits one, in order to use the ADC at its best. It perfectly worked. I modifyed my descriptors, and set my logical maximums to 4095 instead of 255, and used
Code: Select all
write[0]=Adc_Read(0);
Code: Select all
write[0]=Adc_Read(0)>>4;