Tom DeVito 7.11.2011

Start: 10:35

  • Was confused because the arduino did not seem to be updating but it was because the characters were invisible.
  • the arduino will send one time but the pc doesn’t seem to update after it receive the first array of data.
  • PurgeComm seems to be the method to clear the pc side buffer.  This does lead to another problem if the arduino sends in the middle of a purge.
  • The state needs to be sent on every cycle so each side knows if the other side is ready.
  • I think making cases for different byte sequences might be the way to go.  One sequence will start the data ingestion, another will stop it, clear the buffer, and signal that it is ready for more data
  • WaitCommEvent maymake this easier but I’m not sure yet.

end: 6:45