What email address or phone number would you like to use to sign in to Docs.com?
If you already have an account that you use with Office or other Microsoft services, enter it here.
Or sign in with:
Signing in allows you to download and like content, and it provides the authors analytical data about your interactions with their content.
Embed code for: ECET 330 DeVry Week 4 Homework
Select a size
ECET 330 DeVry Week 4 Homework
Downloading is very simple, you can download this Course here: http://mindsblow.us/question_des/ECET330DeVryWeek4Homework/4920
Contact us at: firstname.lastname@example.org
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.
Question 2. Question : Write a program to
Downloading is very simple, you can download this Course here:
Contact us at:
Question 2. Question : Write a program to toggle all bits of PORTA continuously by sending $55 and $AA to it.
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.
Question 4. Question : Write a program to monitor Bit PJ3, which is connected to a switch. When it is HIGH, send 55H to the output port, PORTB. You also need to define the PJ3 bit as an input port, and PORTB as an output port.
Question 5. Question : Eight switches are connected to PORTB and eight LEDs are connected to PORTA. We would like to monitor the first two least significant bits of PORTB (use masking technique). Whenever both of these bits are set, switch all LEDs of Port A on for one second. Assume that the name of the delay subroutine is DELAY. You do not need to write the code for the delay procedure.