Background

Virtually all aspects of modern technology make use of computer hardware, even if these are not immediately apparent (for example, Embedded Systems). The design and production of electronic devices, control systems, interactive media and specialised software products will most likely require programming skills.

The Task

You must programme an analogue clock and digital stopwatch using the Processing programming language. Details of the requirements of the programme are given in the accompanying “Notes” document.

Additional Notes

You will implement a graphical, real-time analogue clock and a digital stopwatch. Both of these will be implemented within a single sketch and will be visible in the sketch window at the same time.

Your display should look something like this See image.

The clock is synchronised to the computers system clock and displays an hour hand, minute hand and second hand, updated in real time.

The stopwatch displays elapsed time in hours:minutes:seconds:milli-seconds The ‘Start’ button will start the timer from whatever the current displayed time is. The ‘Stop’ button will stop the timer but the display will continue to show the time elapsed until another button is pressed. The ‘Reset’ button will reset the timer to 00:00:00:00.000

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.