Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You got hired as the rooky embedded system design engineer by the ABC Innovation

ID: 2080317 • Letter: Y

Question

You got hired as the rooky embedded system design engineer by the ABC Innovations, Inc. Respond to the following simple queries to show some understanding of C programming on CodeWarrior and system development using Dragon 12-Plus trainer board with HCS12 microcontroller. Show how to load proper values to the two registers associated with PORT J to enable LEDs without affecting any other operations of the port. Show how to load proper values to the two PORT P registers to disable the 7-segments marked DSP1 (leftmost) and DSP3 on your board without affecting any other operations of the marked port.

Explanation / Answer

Answer 1

Led Enable ();

DDRJ = 0XFF

Answer 2

In the first part, it is necessary to send all 1's in Hex it is FF to enable it

now to disable it send 0's on port P to disable it.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote