Question: Need help writing C code for Dragon HCS12 board. Not C++ or C sharp but C. I need help making it so the following buttons

Need help writing C code for Dragon HCS12 board. Not C++ or C sharp but C. I need help making it so the following buttons 0-9 are defined and then when you pressed the buttons, they are shown on the 7-segment display or the LCD, your choice. I'm going to be turning this into a calculator but for now I just want the numbers to show up on the screen / display. When you press them.

If you can make a calc simply I'd apreciatte that too but I don't know any C so just having the numbers displayed on the screen when you push a button would be great. I was thinking to use the A,B,C,D buttons as operations at some point.

Please comment code so I know what is going on, thanks!

 Need help writing C code for Dragon HCS12 board. Not C++

OAN14 AN15 ANALOG SENSORS ASSOC TINYBEE PA7 PA6 PA5 PA4 A3 A2 PA1 PAB 5 6 EUB J-EE POD 7 BOOT ON 0 DRAGON12-PLUS2 REV. C OAN14 AN15 ANALOG SENSORS ASSOC TINYBEE PA7 PA6 PA5 PA4 A3 A2 PA1 PAB 5 6 EUB J-EE POD 7 BOOT ON 0 DRAGON12-PLUS2 REV. C

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!