Question: Using the PIC micro and / or ESP 3 2 development kit and Flowcode software platform by Matrix Solutions Ltd , configure PORT A as

Using the PIC micro and/or ESP32 development kit and Flowcode software platform by Matrix
Solutions Ltd, configure PORT A as input and ensure the push button switches are connected to
this port. Configure PORT B as output and ensure the LEDs are connected to this port. When
downloaded to the PIC, the program needs to control the LEDs based on the status of PORT A,
as required by the exercise below.
1. When the switch S1 is ON (PORT A0 is 1), the LEDs will light up as a 3-bit binary up-counter
(counting up).
2. When S1 is OFF (PORT A0 is 0), the LEDs will light up as a 3-bit binary down-counter
(counting down).
3. Repeat the above steps with LEDs for a 4-bit up and down counter, when switch S2 is
ON/OFF (PORT A1 is 1 or 0). What are the conditions assumed for a valid operation?
4. Implement and demonstrate both via simulation and using the development board hardware.
Note: Check how the switches are configured. You would want the switches to be in the right position
when the program checks for their status!
Portfolio submission:
In addition to providing evidence of the correct operation of your circuits, you should also explain
the method of implementation for the count-up and count-down operations, and the different code
sequences that could be used to light up the LEDs in the required sequence

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 Electrical Engineering Questions!