Assignment 4

For this project, I choose to do a group project with Jaeky Cheong. We were using a pressure sensor I got from the swatch last week from Aaron. For the code, we setted the pressure to 300, 500, and 800. So if the pressure reached 300, the green LED will be turned on; if the pressure reached 500, the red LED will be turned on; if the pressure reached 800, the blue LED will be turned on.

Here’s the code:

 

And then we used a bird to explain how the power and code works in the short film below:

Leave a Reply

Your email address will not be published. Required fields are marked *