Week 2 – Tom Bolsover

in the second week i started to work on the code as shown in the photo. It will have to weight the the glass and the water. the take a reading and save it. When the glass glass is removed the sensor will not show a reading. then when the glass is replaced and a new reading is taken. This second reading is taken away from the reading and this gives total amount of water drunk by the user. this is then repeated until the glass is empty and refilled. The readings are then that were more than the previous  are not added to the running total. the water drunk then actuates the lights and sound.20170402_171532.jpg


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s