Go Down

Topic: atTiny84 + FreqMeasure Library (Read 1 time) previous topic - next topic

WanaGo

Hello,

Does anyone have an atTiny84 running off the Arduino IDE (using Coding Badly's core, or other), and have a frequency generator too?

I am trying to get the PJRC library called FreqMeasure working, however am having no luck so far.

(for some reason I cant send PM's at the moment either... hmm)

I was just wondering if someone was able to test putting a frequency on the ICP pin of their atTiny84 running the FreqMeasure library (say 1Hz or something), and see if you get an output - get it to toggle another pin or something.
For me, the ISR inside the library doesn't seem to be firing and I don't know why.

FreqMeasure library:
http://www.pjrc.com/teensy/td_libs_FreqMeasure.html

Core I am using:
http://code.google.com/p/arduino-tiny/

If anyone is able to help I would really appreciate it.
I have the atTiny doing pulsein() and that works fine, so I know the pin works, but Im a bit over my head when it comes to editing/debugging the core or the library and need a bit of help.

Thanks
James

Go Up