Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started