10_Lab01_LED (1) - Microcomputer Systems and Lab Fall, 2010...

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

View Full Document Right Arrow Icon
Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗講義 Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗講義 Lab # 1 LED 跑馬燈實驗 一、預習內容: 瞭解 8051 I/O Port 的使用方式並控制輸出 Port high-low ,希望藉由 8051 I/O Port 輸出展示燈號變 化的效果。 二、實驗說明: (1) 本實驗用到的單板為 F42 LED (2) 8051 有四個 Port ,且皆為雙向性 Port ,每一個 I/O Port 皆可獨立使用為輸入或輸出。其中 Port 1,2,3 內部已有提昇電阻 (Pull-up resistor) 10~40KΩ Port 0 則為汲極輸出 (Open-drain output) ,它並無內部提昇電阻,故 Port 0 使用於輸出 Port 時為開 汲極,若要正常工作,需外加電阻使用。 (3) 每一個微處理器都必須有一個時脈工作頻率, 8051 可以外接石英震盪器, 跨接於 XTA1 XTA2 接腳,直接使用內部震盪器,或直接利用外部時脈, 作為工作頻率。在這個實驗中,我們使用的
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.

This note was uploaded on 01/11/2012 for the course ELECTRIC 101 taught by Professor Chen during the Spring '11 term at National Chiao Tung University.

Page1 / 2

10_Lab01_LED (1) - Microcomputer Systems and Lab Fall, 2010...

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