Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions

Question

How flying airoplane?

Answered: 1 week ago

Question

5. Describe the relationship between history and identity.

Answered: 1 week ago