lpcware

Any example to use CAPTURE PINS as pulse counters?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by emimad on Fri Sep 18 09:04:47 MST 2015
Hi all,
I'm in the first steps programming LPC1347 and I would like to learn how to use capture pins to make a fan RPM monitor.
Mi idea is to make a program using ritimer. In each ritimer handler, read a variable increased by rising in a capture pin.

The counter will be up 500 pulses/sec so I think CT16B must be sufficient.

Has someone an example to study it?

Thanks in advance.

Outcomes