×

SparkFun will be closed Monday 7/4 for the holiday. All orders placed after 2pm MT on Friday 7/1 will be shipped out next week.

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