PaulStoffregen / FreqMeasure

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

Does not support Arduino Micro #8

Closed smd75jr closed 8 years ago

smd75jr commented 8 years ago

The library does not appear to support the Arduino Micro, or if it does, it is not clear what pins to use.

PaulStoffregen commented 8 years ago

The required signals are here:

https://github.com/PaulStoffregen/FreqMeasure/blob/master/util/FreqMeasureCapture.h#L51

Maybe you could find the schematic and tell me which pins those are on? (no, I don't have this board and I'm not planning to get one for testing.... this is how open source works, things get supported when people contribute such details)

smd75jr commented 8 years ago

I was looking at that but I have no experience with library programming at all. After annother look accoding to the schematics (here), it appears that ICP1 is on Digital Pin 4 and ICP3 is on Digital Pin 13.

Thanks, smd75jr

PaulStoffregen commented 8 years ago

Good. Please let me know when you've tested and confirmed it works on the actual hardware. Then I'll update the docs.

smd75jr commented 8 years ago

I can confirm that it does indeed work using the example sketch on pin 13.

Thanks, smd75jr