How to use C language to set up the following question. for MPLAB homework
StepsConnect the following components to the PIC24HJ device on your breadboard:1. 2 LEDs:a) LED 0 to RB13 (is IC pin)b) LED 1 to RB14 (is IC pin)
2. 1 Push Button:a) PB to RB11 (is IC pin)
3. Write a state machine in C language to perform the following LED sequence.a) Both LED 0 and LED 1 are turned on, i.e. 11b) Press the PB to start the repeating LED sequence with one second between patterns: 10, 01, 11,00 (1 LED is on , 0 LED IS off)
c) Release the button to stop LED at 00. Press the PB will go to (b).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here