Question 1.Question :Write a program to get eight-bit data from PORTA and send it to PORTB and PORTC. Make sure to define each port as input or output.
Points Received:5 of 5Comments:Question 2.Question :Write a program to toggle all bits of PORTA continuously by sending $55 and $AA to it.
Points Received:5 of 5Comments:Question 3.Question :Write a program to toggle PB3, PB7, and PB5 continuously without disturbing the rest of the bits. Assume that there is a delay procedure that you can call.