This week we are supposed to catch up on any labs that we haven’t done. I’ve gone back through the weeks and I think I’ve completed all the labs up to this date. Here are the last couple that we covered last week in class.
In this lab, done during class, we looked at using for loops to cycle through notes in the tone library. This was super cool. I really like the 90’s 8 bit sound that they make.
I tried building the other piano circuit, the one that emits three isolated notes according to the data from an analog sensor. Unfortunately the code would not compile for my arduino. I’m not entirely sure why… I’ve attached a screen cap of the code and the error below.
The code is able to be compiled for all the other examples so I’m not sure why this one is giving me so much trouble. I chose to use light sensors instead of force sensors (largely because my force sensors haven’t arrived in the mail yet. I’m retrieving them from Canada this weekend when I visit).
The last lab that I want to share is the fan/motor lab! I used those concepts in my small project so please check out my next blog post to see it in action.