Question: WE SHOULD CHANGE THIS PART OF CODE AND PROGRAM NAME IS MPLAB. PART I : Decimal Event Counter on the EE308 PIC24Board Modify the single

WE SHOULD CHANGE THIS PART OF CODE AND PROGRAM NAME IS MPLAB.
PART I : "Decimal Event Counter" on the EE308 PIC24Board Modify the single decimal digit event counter code event.s to display the count as a two digit decimal number. The count is expected to wrap to 00 (double zero) after 99. The sample source code may be found in http://acoustics.sabanciuniv.edu/ee308/codes/ check_keypad: btss bra PORTD, #6 check_keypad keypad entry? mov inc We, cnt #0x000 F , W1 We, W1, W1 mov mov and mov add mov W1, W2, We #LCD line2, W3 bset PORTF, #0 ; turn on LED1 wait_release: btsc bra bc1r PORTD, #6 wait release PORTF, #0 ; key released? ; turn off LED1 bra cntloop done: bra done Place holder for last line of executed code PART I : "Decimal Event Counter" on the EE308 PIC24Board Modify the single decimal digit event counter code event.s to display the count as a two digit decimal number. The count is expected to wrap to 00 (double zero) after 99. The sample source code may be found in http://acoustics.sabanciuniv.edu/ee308/codes/ check_keypad: btss bra PORTD, #6 check_keypad keypad entry? mov inc We, cnt #0x000 F , W1 We, W1, W1 mov mov and mov add mov W1, W2, We #LCD line2, W3 bset PORTF, #0 ; turn on LED1 wait_release: btsc bra bc1r PORTD, #6 wait release PORTF, #0 ; key released? ; turn off LED1 bra cntloop done: bra done Place holder for last line of executed code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
