The next thing to think about is scaling the ADC value to the height of the bar. You will need to divide the 8-bit value by 8 to get the number of lights to light. for example, a value of 144decimal needs to light 144/(256/8) or 4.5 leds. then the height of the bar is proportional to the adc value. alice > 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. > > > see attached file > Andre > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST