subject

The PIC18F4321 microcontroller is required to drive the LEDs connected to bit 0 of ports C and D based on the input conditions set by switches connected to bit 1 of ports C and D. The I/O conditions are as follows:-If the input at bit 1 of port C is HIGH and the input at bit 1 of port Dis LOW, the LED at port C will be ON and the LED at port D will be OFF.-If the input at bit 1 of port C is LOW and the input at bit 1 of port D is HIGH, the LED at port C will be OFF and the LED at port D will be ON.-If the inputs of both ports C and D are the same (either both HIGH or both LOW), both LEDs of ports C and D will be OFF. Write a C language program for the statement above.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 17:50
Acontact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. write a program that first takes in word pairs that consist of a name and a phone number (both strings). that list is followed by a name, and your program should output that name's phone number.
Answers: 1
question
Computers and Technology, 25.06.2019 04:40
Ineed ! i need a computer whiz to me complete my study guide on computers, it's 50 questions. if anyone can me i'll be greatly appreciated.
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
Spreadsheet software is more powerful than financial planning software. - true or false
Answers: 2
You know the right answer?
The PIC18F4321 microcontroller is required to drive the LEDs connected to bit 0 of ports C and D bas...
Questions
question
Mathematics, 27.04.2021 20:40
question
Mathematics, 27.04.2021 20:40
question
Mathematics, 27.04.2021 20:40
question
Business, 27.04.2021 20:50
Questions on the website: 13722367