Question: the C code and designed circuit for the two modes In this project, a digital clock system shall be designed and implemented using PIC16F877A. The
In this project, a digital clock system shall be designed and implemented using PIC16F877A. The system works in two modes as below, where the first mode, digital clock, runs if a push button (i.e. connected to RBO) is pressed and the second mode, stopwatch, runs if another push button (i.e. connected to RBI) is pressed. The mode should be selected at the beginning of the system: First mode (Digital Clock): the system in this mode let the user insert the setup before start running the clock, where the setup is inserting the current time in seconds, minutes and hours using a Fall 2021-2022 keypad. Some instructions will be displayed using LCD to let the user know how to insert the setup. Second mode (Stop Watch); the system in this mode let the user runs a stop watch, where the stopwatch can be stopped using another push button (i.e. connected to RB2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
