A Good morning to the forum.
I have just started with Arduino UNO after using PIC MCU's and PicBasic Pro for nearly 20 years. What a positive surprise at my age to be able to write in C, allthough most of my sketches are from existing efforts by other Arduiners, with only minor adaptation by me. I am learning, I am hooked!
My Objective : To change my existing PIC ballistic chronograph to Arduino UNO operation, using a single pin to start/stop a timer.
My detector consists of a start sensor and a stop sensor which operates a flip/flop circuit. The pulse from the flip/flop is the length of the time it takes for the bullet to move between start/stop sensors. On the PIC MCU I am using the Capture mode pin, using the rising edge to start a timer which is 'ticked" by the oscillator to give 1 micro second ticks. The falling edge of the capture mode pin is used to read the value of the timer. Calculation and reporting is done via LCD.
My question : Does the Arduino have a similar capture pin ? I have been studying a lot of timer and frequency counter sketches, but I was unable to find the answer. I would seem that I will have to address the specific registers directly, but I am unsure.
Thank you in advance.
Danie Joubert - George