Question: 2. (10 pts) Program with inputs and outputs Two sensors connected to RB0 and RB1 of a PIC 1814580 Microcontroller are used to measure the

 2. (10 pts) Program with inputs and outputs Two sensors connected

2. (10 pts) Program with inputs and outputs Two sensors connected to RB0 and RB1 of a PIC 1814580 Microcontroller are used to measure the liquid level in tank A and tank B. respectively. If the liquid level is lower than ' full, a logic LOW (0') signal will be sent to the microcontroller. Write a main program] so that if one or both tanks are less than full, the red light indicator, which is connected to RCO and requires a logic HIGH (1) signal, will turn on. PIC18 F4580 RBO RCO : RB1

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!