I m donig project on 8051, i need an help for this problem..
My task is,
1) We get sampled signals from ADC then we should check whether there are 8 samples in 20ms duration.
2) If no then perform mode 1;
3} If Yes then check voltage range of signals then pass these signals through first order filter, then enter in to mode 2.
This is my requirement please send Me the Sample code for this..