lcavini

Member Since: June 21, 2010

Country: United States

  • Product SEN-09623 | about 4 years ago

    Hi, I can’t understand a small part of Jordi’s code. He says that use an oversampling tecnique for increase ADC resolution but if he cumulate analog value in the Interrupt Service Routine (ISR) how does he update ADCH and ADCL registers? He should exit from ISR and when the next conversion has finished and and new interrupt occur then sum the new value to previous in the ISR: analog_buffer[MuxSel]+=……….;
    I don’t understand.Can someone help me?
    thanks

No public wish lists :(