Communicate with an external device over serial protocol
Posted: Wed Dec 12, 2018 3:44 pm
I have an external device that can receive instructions over serial protocol. I have a C++ code , whose functions can be used to send instructions to the device(the code encodes parameters to bits and corresponding recognizable commands and has functions to send instructions directly taking in parameters). I want to control the device from open vibe, i.e., send instructions to it after a threshold has been met. I have the present scenario giving 1s or 0's as in a matrix, indicating whether the threshold has been met or not. Where should I start from here? Do I need to program a new algorithm or box? I need to take input parameters from the user in open vibe itself and use it to send instructions.