SparkFun will be closed Nov 26th and 27th for the Thanksgiving holiday. Orders placed after 2:00pm MT on the 25th will ship out Monday the 30th.

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