subject
Engineering, 30.07.2021 01:20 sugeilochoa

A PIC18F4321 microcontroller is required to drive an LED connected to bit 7 of Port C based on two switch inputs connected to bits 6 and 7 of Port D. If both switches are equal (either HIGH or LOW), turn the LED ON; otherwise turn it OFF. Assume that a HIGH will turn the LED ON and a LOW will turn it Off (cathode grounded). Write a C program using MPLAB and change the inputs and show the outputs (use simulator I/O pins and debugging IO view from the windows drop down menu).

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:20
The characteristic roots of a dynamic system are: 1.7920 1.8160 i, -1.7920 1.8160 i, -0.4160 what is the order of this system? what are the settling time and damping ratio of the system?
Answers: 3
question
Engineering, 06.07.2019 02:30
Precipitation hardening can be achieved in many light alloys by a three-step heat treatment. what is carried out and what is the purpose at each step? why is such a treatment necessary based on the nucleation and growth theory of phase transformation. compare this treatment with tempering martensite for carbon steels (similarities and differences).
Answers: 1
question
Engineering, 06.07.2019 03:20
1kg of water contained in a piston-cylinder assembly undergoes two processes in series from an initial state where the pressure is 3.0 bar and the temperature is 150°c process 1-2: the water is compressed isothermally to a volume of 0.25 m^3 with 120 kj of work being done to the system. process 2-3: the water is heated at constant volume to a final pressure of 10 bar. a. find the change in internal energy for the system. b. calculate the amount of heat transferred, in kj. c. sketch both processes on a t-v diagram. (196.33 kj/kg, 76.33 kj)
Answers: 1
question
Engineering, 06.07.2019 04:10
Consider a power plant with water as the working fluid that operates on an ideal rankine cycle. it has a net power output of 45mw. superheated steam enters the turbine at 7mpa and 500°c (h=3411.4 kj/kg; s=6.8 kj/kg k) and is cooled in the condenser at a pressure of 10 kpa by running cooling water from a lake through the tubes of the condenser at a rate of 2000 kg/s. (a) show the cycle on a t-s diagram (a right schematic is fine - you do not need to calculate the temperatures at each point); (b)-determine the work done by the turbine and the pump in kj/kg; (c)-the mass flow rate of water used by the power plant; (d)-the thermal efficiency of the cycle; (e)-the temperature rise of the cooling water. assume the cooling water is incompressible with cp 4.18 kj/kg°c.
Answers: 3
You know the right answer?
A PIC18F4321 microcontroller is required to drive an LED connected to bit 7 of Port C based on two s...
Questions
question
Mathematics, 21.03.2020 02:55
question
Health, 21.03.2020 02:55
question
Geography, 21.03.2020 02:56
question
Mathematics, 21.03.2020 02:56
Questions on the website: 13722363