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!
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. CStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started