And Now The Temp! Followup Documentation from the SensorTag work

I continued with the work I started using the SensorTag from the previous week since I was so close - it turns out that my bug was a mistyped function name, so my code started work pretty soon after that. 

I was working with the IR sensor, which stores information as unsigned integers, so I adapted the code from the notes to store the incoming notifications to a Uint8Array. I used the calculations from the SensorTag guide to get Celsius, which I then converted to Fahrenheit.

I wanted to have a little fun with the assignment, so I decided to show the current temperature according to the SensorTag. I drew the SensorTag in Illustrator: if it's too hot, the SensorTag sweats; too cold and it gets grumpy and has to wear an NYU branded scarf.

I felt the need to draw the SensorTag as a cute cartoon. 

I felt the need to draw the SensorTag as a cute cartoon. 

Here's what the final UI looked like - you can't tell from the screenshot, but I used a animation importing Justin Aguilar's CSS3 animation library to make the SensorTag float.

Screenshot from iPhone

Screenshot from iPhone