Scott, thanks for your replay I just added andlw 0x7 and no help Andre > On Tue, 17 Oct 2000, Andre Abelian wrote: > > > Hi to all, > > > > I got bar graph meter done without A/D interrupt enabled then > > I decided to use A/D interrupt and I can't get ADCON0,ADIF flag set. > > any help will highly appreciated. > > Shouldn't you have this: > > ADSERVICE: > BTFSS ADCON0,ADIF ; A/D INTERUUPT > RETFIE ; NO THEN IGNORE > MOVF ADRES,W ; GET A/D VALUE > andlw 0x7 ;there are only eight entries > CALL TABLE > > You may be branching off into lala land. > > Scott > > PS. I think this is the second post on the piclist with actually pic code today! > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST > > > > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST