> > i used the sample code given with the PBP (at end of message) > i have configured the EPIC win software to program a 12c672, internal osc, (...) > > -- sample code given with PIC PRO > ' Access PIC16C7x A/D > You ar using a 12C672. line above states the sample code is for 16C7X series. get sure about register-addresses. > Include "modedefs.bas" > > SO con 0 ' Serial Output > > ADCON1 = 0 ' Set PortA 0-3 to analog inputs > ADCON0 = $41 ' Set A/D to Fosc/8, Channel 0, On > > loop: ADCON0 = $45 ' Start Conversion > Pause 1 ' Wait 1ms for conversion > > Serout SO,N2400,[#ADRES,10] ' Send variable to serial out > > Goto loop also going back is a good idea - or add Pin4s wich toggels so you can monitor them with a scope. kind regards Stefan Sczekalla-Waldschmidt ssw@oikossw.de kind regards