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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!