Question: Question 1 _ Binary count ( 4 bit binary count ) should happen on four right most LEDs when push button SW 2 is pressed

Question 1_ Binary count (4 bit binary count) should happen on four right most LEDs when push button
SW2 is pressed down.In this count LDO should represent the least sginificant bit and LD the most
significant bit. The counting should be switched to four right most LEDs when the push button SW5 is
pressed and kept down. In this count LD4 should represent the least sginificant bit and LD7 the most
significant bit. Binary count should stop when push button is released.
Test the code on Dragon 12 plus board. Make sure the code is present in the project directory with name
as explained.
Condition: should not use the led_enable) functionQuestion 3_
a. key_scan()
b. get_key_midterm()
c. wait_for_keyup()
Write a complete code to interface hex keypad with MC9S12D256B on Dragon board
While developing the algorithm and related code, please adher to the following:
Use functions named as above in the main) function (Baisc strcuture of the main() function also given
below).
In the main function, enable Seven segment display without using the function seg7_enable)-
Make sure to use the same function name as given.
Your code when executed should perform as follow: Any key press on hex key pad should be displayed
on lcd screen. At the same time the right most seven segment display (DIGO) should display a
hexnumber which is one less than the keypress.
However, If the keypress =0, DIGO should display 0 only. (3 Points

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!