×

SparkFun Electronics will be closed in observance of memorial day on Monday, May 29th. We will resume normal business hours on Tuesday, May 30th. Any orders placed after 2pm Mountain Time on Friday, May 26th will process and ship out on Tuesday, May 30th.

lcavini

Member Since: June 21, 2010

Country: United States

  • 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 :(