SparkFun will be closed on Monday for Memorial Day (5/27). Orders placed after 2pm MT on Friday (5/24) will process and ship out on Tuesday (5/28).

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