Cutting Board Switch

The idea is that when the knife makes contact with the cutting board (aluminum foil), the circuit is closed.  This is tested by the red LED in the upper left hand corner of the video.

My code for the other three parts of the homework are linked below.

 Part 2: http://code.arc.cmu.edu/~cheng/uploads/aaronChenault_Digital_InputOutput_pt-1.pde

Part 3: http://code.arc.cmu.edu/~cheng/uploads/aaronChenault_Digital_InputOutput_pt-1.pde

Part 4: http://code.arc.cmu.edu/~cheng/uploads/aaronChenault_Digital_InputOutput_pt_4-1.pde

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: