Question: Question 2 TRISD = 0 PORTD = 0 b 0 0 0 0 0 1 0 1 ; How the above code works? Your answer:

Question 2
TRISD =0
PORTD =0b00000101;
How the above code works?
Your answer:
Set Port D as Output, set 1. and 3. bits High
Set Port D as Output, set 1. and 2. bits High
Set Port D as Input, set 0. and 2. bits High
Set Port D as Output, set 0. and 2. bits High
Clear answer
 Question 2 TRISD =0 PORTD =0b00000101; How the above code works?

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!