Go Down

Topic: Using triggered timer capture (Read 931 times) previous topic - next topic

hobbified

Am I correct in understanding that the pin "ICP1" isn't routed on the Arduino Mega 2560 board, so I can't capture the value of TIMER1 on an external signal edge? At least not without buying/building a different board?

RuggedCircuits

You are correct, but note that ICP3 and ICP4 are available on the long "external I/O" connector as pins 49 and 48 respectively. These belong to timers 3 and 4 which are also 16-bit timers thus might be a good substitute for Timer 1 in your application.

--
The Aussie Shield: breakout all 28 pins to quick-connect terminals

hobbified

Thank you, I missed that fact! That should work fine for me, as long as there aren't any weird restrictions using Timer3/4 as compared to Timer1. Off to the data sheet!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy