Question: Lab Task You will create a clock module that keep track of 24 hours, AM/PM status, and number of 24-hour days passed. Three days will

Lab Task You will create a clock module that keep track of 24 hours, AM/PM status, and number of 24-hour days passed. Three days will equal 1 month, and 3 months will be the maximum limit of our clock. It will do this by alternating AMTimer and PMTimer once each day, like the setup in Timers Lesson 3. You will create the following tags: ClockStart- A Boolean that controls if the clock is counting (ON) or not (OFF) AMTimer-a Timer that counts for 12 seconds. We will use 1 second = 1 hour for this project. PMTimer - a Timer that counts for 12 seconds. We will use 1 second = 1 hour for this project. AM/PM-a Boolean where OFF = AM, ON = PM DaysPassed - a Counter that keeps track of the number of days that have passed. Assume 3 days per month for this assignment so we can reasonably test the clock. MonthsPassed - a Counter that keeps track of how many months have passed. Assume a maximum value of 3 for this assignment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!