Week 5 Adventure Creations .. temperatures and leds .. goooooo!!
For my solo project I decided to use the thermometer and the led to produce a thermostat light coded.
Here are the codes that I used and THE "IF" argument helped a lot.
Here is the video explaining that what I saw.
I found out that you can use an if statement and and else statement once on a float but then you must repeat it.
Conclusion:
the if statement is pretty useful if you know its limitations. It is also very repetitive and you can use it to create statements that can cancel and then start another statement. In my project I chose to turn a light on and off by a reading from the thermometer. That was neat. I can see how you can have simple green, yellow and blue light indicators on thermometers and other types of readings. Even on voltage when overheating a component due to the high voltage reading from the thermometer and be able to have a shut down feature to stop it.


Comments
Post a Comment