Ivan Cenov wrote: > Hello, > > I am trying to simulate ADC on PIC16C715. > First I set ADCON0.ADON and GO bits and then > sit down in tiny loop to wait for GO cleared and PIR1.ADIF set. > This never happens. > What is it: special trick for C715 needed or MPLAB 3.31 error ? > > Have anyone else had deal with this ? > > Ivan Cenov > okto7@botev.ttm.bg Ivan: Besides setingup adcon0 you need to setup adcon1 to analog input. default is digital .also in adcon0 you need to select channel that is bit 3,4. MPLAB does'nt simulate ADC or DAC. I use picmaster with 16K probe is the best. Andre Abelian