Question: You have noticed that the daily temperature information from local weather sites for your area is inaccurate. You have noticed what you believe are irregularities
You have noticed that the daily temperature information from local weather sites for your area is inaccurate. You have noticed what you believe are irregularities with the local weather site’s reporting of the daily temperature average, low, and high temperatures. You have decided to write a program that will use a temperature sensor you have installed to take four temperature readings over a 24-hour period. Those readings will be at times 0, 8, 16, and 24.
Behaviors of your Application
- Your application will use a 5 second sleep before acquiring the first temperature, to compensate for the simulator reset when your program launches
- Your application will use 8 seconds to simulate 8 hours.
- When the application starts, it will announce itself and tell the user what it is doing
- You will collect the four temperatures, announcing each temperature acquisition in both °F and °C
- You will light one LED as each acquisition is taking place using the order of GLED, YLED, RLED, and BLED, leaving them on until the program is finished with its run
- Once you have collected all four of your temperature acquisitions, you will display the following statistics:
- Minimum temperature °F and °C
- Maximum temperature °F and °C
- Average temperature in °F and °C
- Acquire your mean / average temperature by importing statistics and using the mean() function
- Your program will turn all LEDS off, and then exit
Step by Step Solution
There are 3 Steps involved in it
It seems like youre planning to create a program that collects temperature data and displays statist... View full answer
Get step-by-step solutions from verified subject matter experts
