Pages: [1]   Go Down
Author Topic: Using triggered timer capture  (Read 808 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

0
Offline Offline
Faraday Member
**
Karma: 16
Posts: 2857
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Pages: [1]   Go Up
Jump to: