Back to Parent

For the final touch, I added a three pronged switch. When the switch is off, the LED blinks rapidly and the photo resistor is no longer actively checking to see if the box is opened or closed. This is to avoid the situation when the user is going to collect the mail and obviously doesn't need the notification via email that the mailbox has been opened. To code this, I added a placed the previous code inside of a if  statement and gave and made an else statement for the flashing light.


Content Rating

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

0