Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5288

MicroPython • Re: Frequency counter stops after while

$
0
0
Yes, the PWM peripheral can act as a pulse counter, which can be used with DMA to get very accurate frequency measurement, in pulse-counting or pulse-timing (reciprocal) mode.

See https://iosoft.blog/picofreq_python/ for details and MicroPython code.

Statistics: Posted by jayben — Sun Feb 25, 2024 11:06 am



Viewing all articles
Browse latest Browse all 5288

Trending Articles