Page 1 of 1

help please when i run this project in mikroc i had errors

Posted: 02 Sep 2014 10:35
by abowadee3
interrupt(TIM0_COMP) void noiseanaly(void);


began
// To start ADC again
Ain = ADCH;
new_smpl=1;
ADCSR.6=1;
if (z == 2) {
TCCR0 = 0b00001011;// Prescale 64,clear on compare match WGM01 = 1,WGM00 = 0
TCNT0 = 0;
OCR0 = 62;// This is sampling about at 4300Hz
z=0;
}
end


the full code http://people.ece.cornell.edu/land/cour ... 4/srecog.c