In this paper, it is designed a platform for least deviation linear interpolation with two axis linear guides, and it realizes the linear interpolator by PIC microprocessor with MPLAB C language in PIC microprocessor.
標簽: interpolation deviation designed platform
上傳時間: 2017-07-24
上傳用戶:維子哥哥
MPLAB® C18 C 編譯器用戶指南
上傳時間: 2013-12-20
上傳用戶:huyiming139
software MPLAB... writing program (coding .c/.h)
標簽: software program writing coding
上傳時間: 2014-01-06
上傳用戶:xwd2010
該源碼是一個MicroChip的MPLAB工程。其中l(wèi)ast.c為源碼。這個程序?qū)崿F(xiàn)了串口通信,IIC 通信以及基本的IO控制。串口可實現(xiàn)與PDA通信,IIC實現(xiàn)的是溫度測量。并且通過IO口實現(xiàn)對直流電機的控制。
上傳時間: 2013-12-23
上傳用戶:xc216
PIC18F2455 interface with graphical display with KS0108 in C (MPLAB C18)
標簽: with interface graphical display
上傳時間: 2014-11-17
上傳用戶:Thuan
本文檔介紹如何使用 GNU 語言工具來編寫 16 位單片機 / 數(shù)字信號控制器應用程序代 碼。內(nèi)容安排如下: ? 第 1 章 “編譯器概述”——介紹編譯器、開發(fā)工具和功能集。 ? 第 2 章“通用 C 接口”——介紹可用于增強 MPLAB XC 編譯器之間代碼可移植性 的通用 C 接口。 ? 第 3 章“操作指南”——列出了一些具體操作方面的問題和簡要說明,以及指向手 冊中相關章節(jié)的鏈接。 ? 第 4 章“XC16 工具鏈和 MPLAB X IDE”——說明關于如何通過 MPLAB X IDE 設 置和使用編譯器及相關工具的基礎知識。 ? 第 5 章 “編譯器命令行驅(qū)動程序”——介紹如何從命令行中使用編譯器。 ? 第 6 章“與器件相關的特性”——介紹編譯器頭文件和寄存器定義文件,以及如何 用于 SFR。 ? 第 7 章 “MPLAB XC16 和 ANSI C 之間的差別”——介紹編譯器語法支持的 C 語 言與標準 ANSI-89 C 之間的差別。 ? 第8章“支持的數(shù)據(jù)類型和變量”——介紹編譯器的整型、浮點型和指針數(shù)據(jù)類型。第 9 章 “定點算術支持”——說明編譯器中的定點算術支持。 ? 第 10 章 “存儲器分配和訪問”——介紹編譯器運行時模型,包括關于段、初始 化、存儲模型、軟件堆棧和更多方面的信息。 ? 第 11 章 “操作符和語句”——介紹操作符和語句。 ? 第 12 章 “寄存器使用”——說明如何訪問和使用 SFR。 ? 第 13 章 “函數(shù)”——詳細介紹可用的函數(shù)。 ? 第 14 章 “中斷”——介紹如何使用中斷。 ? 第 15 章 “main、運行時啟動和復位”——介紹 C 代碼的重要元素。 ? 第 16 章 “混合使用 C 代碼和匯編代碼”——提供關于編譯器與 16 位匯編語言模 塊配合使用的指導。 ? 第 17 章 “庫程序”——說明如何使用庫。 ? 第 18 章 “優(yōu)化”——介紹優(yōu)化選項。 ? 第 19 章 “預處理”——詳細介紹預處理操作。 ? 第 20 章 “鏈接程序”——說明鏈接如何工作。
標簽: mplab xc16 編譯器
上傳時間: 2022-07-16
上傳用戶:
MPLAB XC8 編譯器用戶指南
上傳時間: 2013-11-06
上傳用戶:HGH77P99
MPLAB C30用戶指南(英文) HIGHLIGHTSThe information covered in this chapter is as follows:• About this Guide• Recommended Reading• Troubleshooting• The Microchip Web Site• Development Systems Customer Notification Service• Customer Support Document LayoutThe document layout is as follows:• Chapter 1: Compiler Overview – describes MPLAB C30, development tools andfeature set.• Chapter 2: Differences between MPLAB C30 and ANSI C – describes thedifferences between the C language supported by MPLAB C30 syntax and thestandard ANSI-89 C.• Chapter 3: Using MPLAB C30 – describes how to use the MPLAB C30 compilerfrom the command line.• Chapter 4: MPLAB C30 Runtime Environment – describes the MPLAB C30runtime model, including information on sections, initialization, memory models, thesoftware stack and much more.• Chapter 5: Data Types – describes MPLAB C30 integer, floating point and pointerdata types.• Chapter 6: Device Support Files – describes the MPLAB C30 header and registerdefinition files, as well as how to use with SFR’s.• Chapter 7: Interrupts – describes how to use interrupts.• Chapter 8: Mixing Assembly Language and C Modules – provides guidelines tousing MPLAB C30 with MPLAB ASM30 assembly language modules.
上傳時間: 2013-10-21
上傳用戶:13925096126
MPLAB C18使用指南 簡介本文檔論述MPLAB® C18 編譯器的技術細節(jié),并講解MPLAB C18 編譯器的所有功能。 這里假定讀者已經(jīng)具備如下基本素質(zhì):• 知道如何編寫C 程序• 知道如何使用MPLAB 集成開發(fā)環(huán)境創(chuàng)建和調(diào)試項目• 已經(jīng)閱讀并理解了所使用單片機的數(shù)據(jù)手冊 文檔內(nèi)容編排如下:• 第1 章:簡介 — 提供對MPLAB C18 編譯器的概述以及有關調(diào)用編譯器的信息。• 第2 章:語法說明 — 論述MPLAB C18 編譯器與ANSI 標準的不同之處。• 第3 章:運行時模型 — 論述MPLAB C18 編譯器如何利用 PIC18 PICmicro® 單片機的資源。• 第4 章:優(yōu)化 — 論述MPLAB C18 編譯器執(zhí)行的優(yōu)化功能。• 第5 章:示例應用程序 — 給出一個示例應用程序,并就本用戶指南中論述的各主題,對源代碼進行了說明。• 附錄A:COFF 文件格式 — 詳細闡述了Microchip 的COFF 格式。• 附錄B:采用ANSI 定義的方式 — 論述按照ANSI 標準的要求,MPLAB C18 實現(xiàn)所定義的執(zhí)行方式。• 附錄C:命令行概述 — 列出了命令行選項以及論述每個命令行選項的參考章節(jié)。• 附錄D:MPLAB C18 診斷 — 列出了錯誤、警告和消息。• 附錄E:擴展模式 — 論述非擴展模式和擴展模式之間的區(qū)別。
上傳時間: 2013-10-30
上傳用戶:1583060504
1 安裝:首先安裝MPLAB IDE V7.42的程序,然后再安裝C的組件PICC8.05-PL.安裝過程中全部確認選擇,完畢后重啟計算機。 2 激活:(PICC8.05-PL) 運行“開始”菜單下的“HI-TECH SOFTWARE”中的 激活(Complier Activation)程序, 再同時啟動算號器程序(HtkeyGen.exe),將Last Name前的勾去掉,填入公司名稱,算出相應內(nèi) 容填入激活程序相應欄目,OK即可完成激活。 3 設置: 3.1 將MPLAB 7.42啟動后,在文件欄中打開C的桌面項目文件,在Project欄目中 檢查 select language Toolsuite...中的選項,所有路徑須指向安裝路徑如C:\HT-PIC\BIN\PICC.EXE; 3.2 在Project欄目中檢查 setlanguage Tool Locations中的HI-TECH ToolsuiteXDGR 相關選項,executables中各程序應指向picc.exe Default Search Paths & Directories中 的相關路徑應為安裝目錄如C:\HT-PIC\include 和C:\HT-PIC\lib; 3.3 設置programmer中的select programmer選項為"MPLAB IED 2"(經(jīng)驗:如果不打開編譯器,此選項無法選中)。 3.4 設置單片機型號,在Congfigure中的Select Device選擇準確的芯片型號;
上傳時間: 2016-01-01
上傳用戶:Ants