Back to Parent

  I played for ages and then thought about trying the second temperature tutorial, noticing straight away that this time it was plugged into A0 and not D0. Then it dawned on me that I should have been using Analog the whole time to get a variance of values. Lesson two learned. After a little tinkering, I used the code from the first tutorial but plugged it in to A0. Straight away I got the LED to blink at a certain temperature (reading off my laptop fan vent).

Next I had to make a new event, the Piezo sounding an alarm, so I went about trying to create this new event. The next bit took me a few hours to figure out, but along the way I think I cracked Arduino. Organizing events and tasks into their own ‘void’ or ‘int’ groups then calling on them later. It Clicked! Lesson three learned.  

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!