On Friday, 25 September 2020 at 12:43:41 UTC, Imperatorn wrote:
On Friday, 25 September 2020 at 11:58:53 UTC, Ferhat Kurtulmuş
wrote:
[...]
A naive implementation would be to store 1500 ms worth of data
with the pwm values, like a buffer. I guess memory is not a
problem if you're using a RP3? Then just loop through and yield
depending on your sample rate (you didn't say what it was)
I didn't measure the entire sample rate yet, but I can say image
processing (the most costly process) can be done with ~15 FPS.