What's the easiest way to pull in sensor data from the Arduino/Teensy environment into a separate C program?
My application is that I'm reading real-time data from a Nicla Sense ME, and I want to pass that data over to a real-time C program I'm running (an SDR application).
I've been experimenting with trying this via the serial port (TTYUSB0), and it seems like a real pain, and I'm not having success.
Is there a smarter or easier way that I might approach this?
For my app, C++ or C# is not an option, I need to stick to C.
Thanks for any suggestions!!
Don
My application is that I'm reading real-time data from a Nicla Sense ME, and I want to pass that data over to a real-time C program I'm running (an SDR application).
I've been experimenting with trying this via the serial port (TTYUSB0), and it seems like a real pain, and I'm not having success.
Is there a smarter or easier way that I might approach this?
For my app, C++ or C# is not an option, I need to stick to C.
Thanks for any suggestions!!
Don