Download Processor Expert Help About Processor Expert

Transcript
This simple demo-project uses the following beans:
1. M568346E - CPU bean (Motorola 56800 processor family)
2. PinIO - General 1-bit input/output bean - outputs to the LEDs. The LEDs use 1 bit of data
specifying whether the light should switch on or off (value 0 = switch off, value 1 = switch on).
3. ExtInterrupt - External Interrupt bean - interrupt from button. Pressing the button calls an
external interrupt which switches the state of the LEDs (on/off).
Steps
There are step-by-step instructions how to create this tutorial project.
This tutorial goes through the following steps:
1. Creating a new project
2. Adding beans
3. Code design
4. Adding the On-Event Code
Note: This demo project does not care about non-defined states on the output of the key during the
process of key pressing. This may result in the fact that state of two LEDs stays apparently unchanged.
Tutorial Motorola 56800 Project 1 Step 1
Creating a New Project
Steps
Click on the command "New" in the menu "File" in the CodeWarrior Main panel window in order to
create a new project.
New empty project
Select 56800 Stationary in the "New" dialog window
103