Download presentation
Presentation is loading. Please wait.
1
MPLAB IDE 8 建立專案
2
Project->Project Wizard->下一步
3
下一步
4
下一步again
5
點選Browse ->建立專案資料 夾和專案檔 ->下一步
6
Add 18f452_g.lkr ->下一步 (路徑C:\Program Files\Microchip\MPASM Suite\LKR)
7
完成
9
Project ->Add New File to Project ->在專案下建立.asm檔案
10
在.asm 撰寫程式碼
11
模擬
12
View->Watch->type address and watch the content of address you choose
13
View->Program memory
14
Debugger->Select tool->MPLAB SIM
16
燒錄
17
裝置
18
Configuration->Configuration Bits ->取消勾選Configuration Bits set in code ->OSC selection bits -> HS oscillator
19
Programmer ->Select Programmer ->PICkit 3
20
按Ok後 output detected device
21
編譯/燒錄 2.Program 1.Build All
22
板子使用完畢記得… 1.Erase Flash Device 2.Blank Check All
Similar presentations