FreqMeasure with 1284P

Status
Not open for further replies.

bvernham

Well-known member
I would like to use the FreqMeasure library with the 1284P but the library has not defined that microcontroller.

Can someone help me modify so I can use that library with the 1284P?

The ATMEGA1284P is mounted on the Bobuino board.

Thanks

Bruce
 
Edit util/FreqMeasureCapture.h. Maybe copy one of the other board defs as a starting point?

If you actually get it working, maybe share the solution here, or send a pull request on github.
 
Which input capture is used?:
#define CAPTURE_USE_TIMER1
#define CAPTURE_USE_TIMER2
#define CAPTURE_USE_TIMER3

1284P has 3 timers.

Thank

Bruce
 
You're going to have to research the timers, perhaps comparing to the ones on the supported boards, and figure out which pin. You have to do that part....
 
Can I get a hint?

I see ICP1 and ICP3 but ICP3 is also shared with the SPI buss so I want to specify the library to use ICP1.

Is this possible?

Thanks

Bruce
 
Status
Not open for further replies.
Back
Top