DJ Pi 2: receiving serial input
October 4, 2017
In the previous post we looked at how to use an Arduino to read an analogue control and transmit it to a Raspberry Pi over serial. Now it’s time to look at how to handle those values on the Pi. We’ll also look briefly at how the C++ application uses the JUCE framework and its multi-threaded approach.
You can look at the complete C++ code here (MainComponent.cpp will be of most interest). The structure of this code is roughly taken from the multi-threading example here.