×

SparkFun Electronics will be closed on July 3rd, 2015 in observance of Independence Day. Any orders placed after 2:00pm MT on July 2nd will be shipped out after the weekend. Thanks!

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