Erin’s Capsensor

I spent way too long on this- I had a very hard time figuring out how to get the LED and the sensor to work together. They would work fine by themselves, but once linked together, something would break.

Thankfully, I finally solved the problem to some degree. Not so thankfully, my room now smells like rotten oranges.

Here is my code:

screen-shot-2017-02-05-at-10-59-12-pm

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