start: 10:30
Communications Testing:
- The Arduino’s Serial.available() alone will only recieve 1 bit. It needs to be set equal to some number to receive more.
- The Structure finally passed and casted correctly once I got the array to load properly
- The original test structure had chars as its data members. This worked with no problem.
- The Arduino uses 16 bit integers while visual C++ defaults to 32 bit integers. In order to pass structures with integer data members you have to make sure that you pass 16 bit ints.
#include <stdint.h>
int16_t var;
- PC now can send properly and the arduino can recieve properly
- Set up Arduino to PC communication. Not working properly yet.
end: 6:30
