Project Frist Assignment - SP11

Project Frist Assignment - SP11 - This assignment counts as...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Simulator Project – First Assignment This assignment counts as (was 2 homeworks) 1 quiz grade. Submit under SimProj Step 1 - In the project step you will be interfacing a 7-segment displays to the 68HC11. First start up the THR simulator. Most likely the simulator comes up with only the commands and register window open. Open a code window by selecting NEW under the File menu. A Document window will come up. This is where you will enter your code. For this assignment you will only be interfacing one 7 segment display to Port B. To connect the 7 segment display to Port B, go to the Connect pulldown. Under it choose 7-segnet display. A dialog box will come up. Connect Pin PB0 under the MC68HC11 nodes to Component node Pin0 Repeat for PB1 through PB7 Click OK. Step 2 – The code To write to port B you must store to address $1004 This will be straight code with the call to one subroutine to delay 0 1 2 3 4 5 6 7 7 Segment Display and bit position of the segment The bit position of the segment of the display relates to the bit position it is connected to.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Project Frist Assignment - SP11 - This assignment counts as...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online