Hai,
i am doing ADC interfacing project with four 7 segment disply, i written code in c, i got output flickring while displaying output in 7 segment led, how i can avoid the flickring,and i am using ADC interrupt.and also i used some mathmatical formula for my application in the main function,How i can create the time delay for avoid the flickring. pleas help me...
Hi,
Introduce 1ms timer interrupt. On each interrupt select one seven segment display and display its contents. continue the same method for the rest of the displays. On the main loop go on checking your adc etc.. Since it is interrupt driven, the display will update without flicker.
i am doing ADC interfacing project with four 7 segment disply, i written code in c, i got output flickring while displaying output in 7 segment led, how i can avoid the flickring,and i am using ADC interrupt.and also i used some mathmatical formula for my application in the main function,How i can create the time delay for avoid the flickring. pleas help me...
with 4 7seq you can easily use of timer with 5ms and interrupt.write on first 7seg and wait 5ms-then next... (multiplexing mode)by this method u can connect 6 7seq and displayin without flicking.
Added after 2 minutes:
note:the consuming current in this method is 4 time greater.