Either I am missing a huge chunk of what is actually happening here, but the readings in relation to serial communication is actually quite clear to me...The basic concept is actually the easiest thing for me to understand so far. However, getting it to work in the labs can be pretty tricky. Anyways, here are the lab results.
Got Coolterm to set up and read the values from the potentiometer in ASCII and hexadecimal values.
Here is the lab with seeing the serial values displayed in processing via a graph. This is what I got with a potentiometer, not sure if I did something wrong as it was more fast moving than others...I only got a 'wave' when i turned the potentiometer very quickly.
The second serial lab was tough mostly because I can barely comprehend the codes. I did not have a accelerometer, so I used two FSRs.
This is the video of the outputs in different formats, printed in arduino:
I also managed to get the numbers printed through the punctuation method:
And here is the punctuation method printed in Processing:
I realized that because I was using button in the starter kit rather than having a switch, I cannot keep the digital output to stay on "1" unless I keep the button on it all the time. As a result I took out the code for the color of the ball to be a variable, keeping it as at a constant of 255. This is the result:
This is the handshake method realized within Arduino:
I am not sure I got the same process to work in Processing. It took me a few tries but I managed to get it to work with one finger holding down the button and holding the sensors. The result is the same as the moving ball in Processing. Not sure if that is the right result though, to be honest.
While I can mostly understand what is happening, the coding was completely lost on me. I also believe that understanding this concept might not be that difficult, but learning how to utilize it will be. I think this is a very powerful tool once I figure out how to use it, and I can't wait for that to happen.