×

SparkFun will be closed May 25, 2015 for Memorial Day. Orders placed after 2pm on Friday the 22nd will ship out on Tuesday. Thanks!

Member #432986

Member Since: April 27, 2013

Country: United States

  • Is the firmware posted current? The makefile says the device is atmega168, but it is a atmega328(p?). The more troubling issue regards the ADC setup code. Let me know if I am reading this wrong. In ioinit(), you set the ADATE bit in ADCSRA, but do not set ADTS bits in ADCSRB to select the triggering mode. Why are you autotriggering when you need to start a new conversion after the current conversion has been read in the ADC ISR?

No public wish lists :(