Hi guys,
I am using my application to get the readings sent by microcontroller from serial port. It works perfectly. But i have the problem, the pic uses 16bits counter, and sometimes i measure frequency lower than 15hz (65535-->16bits). Thats why I thought to measure the time between each pulse that it recieved in serial port. So i could multiply the reading about the time which spend in arrive to serial port. I know if any pulse spend more than 15hz, i should add 65535 to this reading.
Then, the idea is count the time spent between each reading in serial port. SInce pics count and later send each turn.
I dont know if it is possible, and exist any easy way.. Can ayone help me?.
I would like to see any example of it, always it is possible.
Regards, Fonsi.