Tom DeVito 7.14.2011

Start: 11:00

  • After much effort to change the way the receive worked, I found that the problem was much simpler.
  • The importData which was being used, is the one from DataDictionary not the one that was in the arduino communication class prototype.  Therefore, the state didn’t matter and this was always being called constantly importing the last recieveBuffer.
  • Changed where this was called so it will only import when new data is received.
  • Added error checking so that importData didn’t try to import and empty array.
  • Added a clear array function which gets called after importingData so that the receiveBuffer is empty until the next data is received.
  • Moved Arduino communication methods to a new library to keep the arduino sketch from getting to cluttered
  • Started a new sketch to be the main arduino controller.

End: 7:10