Question: In the C++ code below, I would like to display the values of MSB,LSB and the sum of both, in the Visual Studio command window.
In the C++ code below, I would like to display the values of MSB,LSB and the sum of both, in the Visual Studio command window. I am sending data from Visual Studio 2017 to an Arduino. All suggestions will be truly appreciated.
// send X axis LSB = faces[i].x & 0xff; MSB = (faces[i].x >> 8) & 0xff; arduino_com->sendChar(MSB); arduino_com->sendChar(LSB); // Send Y axis LSB = faces[i].y & 0xff; MSB = (faces[i].y >> 8) & 0xff; arduino_com->sendChar(MSB); arduino_com->sendChar(LSB);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
