I'm looking for some sample c code for the CCS compiler which uses the AD converter on a PIC16F743-20. What type of number is returned by the function read_adc() ? I can view the data with the printf statement but it looks like it's formated improperly for readability on a PC. My goal is to send the AD data down an RS232 line to another PIC and use it for PWM control on a motor. Attached is my code: serial.c. Dan Mulally dtcon@rapidnet.com Content-Type: application/octet-stream; name="serial.c" Content-Disposition: attachment; filename="serial.c" Attachment converted: definition:serial.c (????/----) (0001354B)