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.
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.
I not tested this code: