The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 327 Weeks Ago, 5 Days Ago |
| Questions Answered: | 12843 |
| Tutorials Posted: | 12834 |
MBA, Ph.D in Management
Harvard university
Feb-1997 - Aug-2003
Professor
Strayer University
Jan-2007 - Present
The objective for this lab is to become familiar with I/O ports on the HCS12 MCU, pushbuttons to
receive input from a user, and LEDs to output the results. Additionally, a sub-objective is to also
become more familiar with CodeWarrior (CW) IDE and the D-Bug12 interface and commands.
Lab ObjectivesThe objective for this lab is to become familiar with I/O ports on the HCS12MCU, pushbuttons to receive input from a user, and LEDs to output theresults. Additionally, a sub-objective is to also become more familiar withCodeWarrior (CW) IDE and the D-Bug12 interface and commands.DescriptionImplement the logic functions listed in the “Work Task”. In this lab, use thePushButtons (PBs) and Dip Switches as the inputs and the LEDs as the output(see Figure 1).Figure 1: The four PB switches, DIP switches, and the LED (box) used for thistask. The numbering for the PBs is shown in the box directly below them.Work TaskYou will implement 4 di±erent logic functions. You have to implement each ina seperate subroutine.You have four PBs that you can use as inputs: PB 1 , PB 2 , PB 3 , and PB 4(see Figure 1), which will serve to select which of the 4 di±erent logicfunctions are to be performed, each single button will select a di±erent