Snippet - G120 pulse counting using registers

I just posted G120 pulse counting using registers on Codeshare. Feel free to discuss and make suggestions here.

2 Likes

@ MikeCormier -

Mike, thanks for this share. Is there a datasheet that tell us which PINS are counters enabled on the G120 ?

http://www.nxp.com/documents/user_manual/UM10470.pdf
look in the timers chapter

Hello Mike

thanks for sharing that code.

If someone else wonders: That example counts events on port P0.4.

Hi all !
I want to use the counter for measurement of the frequency before 1MHz.
Prompt as this better do.

@ rpis - create new thread for new question.