Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Running a function every 250us (microseconds) on Ras Pi 2

$
0
0

I have a project in mind where I want to grab some depth data (probably from a Kinect 360) and pass it to a Raspberry Pi, do a bit of image processing and then pump it out to a bunch of custom displays that I am designing.

For various reasons, ideally this ends up with me outputting data from the SPI port on the Pi 4000 'frames' per second (don't worry, only about 600 bits per frame, so the total datarate stays manageable at 2.4Mbps). Is there any way to attach an interrupt service routine to a timer interrupt in OF with a timer period of the order of hundreds of microseconds? Specifically, I would want to do this on the Ras Pi 2 - has anyone tried anything this mad before?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>