PaulStoffregen / FreqMeasure

Measures the elapsed time during each cycle of an input frequency.
http://www.pjrc.com/teensy/td_libs_FreqMeasure.html
69 stars 31 forks source link

Configuration for Seeedunio GPRS (based on Leonardo) is difficult #7

Closed cdmein closed 8 years ago

cdmein commented 8 years ago

Hi

Thanks for the work on the library. I managed to get this working first time on an Arduino Mega and an Uno.

When I tried to get this running on a Seeeduino GPRS I had issues. I got it working by trial and error but I wondered whether you would consider updating the README and possibly changing how the FreqMeasureCapture.h is defined for this board.

FreqMeasure worked on TIMER1 on PIN 4 in the end.

In FreqMeasureCapture.h the Seeeduino is 'defined' as a "AVR_ATmega32U4". That define block (line 51) defines TIMER3 and suggests pin 10. Your readme file suggestes pin 13. This does not work.

The Seeeduino GPRS sends data really seamlessly so I think it might become quite popular. Hopefully updating the documentation a little might help people out.

Thanks

Chris

PaulStoffregen commented 8 years ago

I've updated the web page, with a link to this issue. Hopefully anyone needing to use this board will see it.