实例介绍
单片机型号PIC18F25K83,开发环境为MPLAB X IDE V4.05,例程包含I/O,TIM,UART,I2C,CAN,ADC程序,全部手敲并调试完成,需要的小伙伴们可以拿去参考一下。
【实例截图】
【核心代码】
PIC18F25K83例程
├── ADC.X
│ ├── build
│ │ └── default
│ │ ├── debug
│ │ │ ├── main.p1
│ │ │ ├── main.p1.d
│ │ │ └── main.pre
│ │ └── production
│ │ ├── main.p1
│ │ ├── main.p1.d
│ │ └── main.pre
│ ├── dist
│ │ └── default
│ │ ├── debug
│ │ │ ├── ADC.X.debug.cmf
│ │ │ ├── ADC.X.debug.elf
│ │ │ ├── ADC.X.debug.hxl
│ │ │ ├── ADC.X.debug.lst
│ │ │ ├── ADC.X.debug.map
│ │ │ ├── ADC.X.debug.mum
│ │ │ ├── ADC.X.debug.obj
│ │ │ ├── ADC.X.debug.rlf
│ │ │ ├── ADC.X.debug.sdb
│ │ │ ├── ADC.X.debug.sym
│ │ │ └── memoryfile.xml
│ │ └── production
│ │ ├── ADC.X.production.cmf
│ │ ├── ADC.X.production.elf
│ │ ├── ADC.X.production.hex
│ │ ├── ADC.X.production.hxl
│ │ ├── ADC.X.production.lst
│ │ ├── ADC.X.production.map
│ │ ├── ADC.X.production.mum
│ │ ├── ADC.X.production.obj
│ │ ├── ADC.X.production.rlf
│ │ ├── ADC.X.production.sdb
│ │ ├── ADC.X.production.sym
│ │ └── memoryfile.xml
│ ├── main.c
│ ├── Makefile
│ └── nbproject
│ ├── configurations.xml
│ ├── Makefile-default.mk
│ ├── Makefile-genesis.properties
│ ├── Makefile-impl.mk
│ ├── Makefile-local-default.mk
│ ├── Makefile-variables.mk
│ ├── Package-default.bash
│ ├── private
│ │ ├── configurations.xml
│ │ └── private.xml
│ └── project.xml
├── CAN.X
│ ├── build
│ │ └── default
│ │ ├── debug
│ │ │ ├── main.p1
│ │ │ ├── main.p1.d
│ │ │ └── main.pre
│ │ └── production
│ │ ├── main.p1
│ │ ├── main.p1.d
│ │ └── main.pre
│ ├── dist
│ │ └── default
│ │ ├── debug
│ │ │ ├── CAN.X.debug.cmf
│ │ │ ├── CAN.X.debug.elf
│ │ │ ├── CAN.X.debug.hxl
│ │ │ ├── CAN.X.debug.lst
│ │ │ ├── CAN.X.debug.map
│ │ │ ├── CAN.X.debug.mum
│ │ │ ├── CAN.X.debug.obj
│ │ │ ├── CAN.X.debug.rlf
│ │ │ ├── CAN.X.debug.sdb
│ │ │ ├── CAN.X.debug.sym
│ │ │ └── memoryfile.xml
│ │ └── production
│ │ ├── CAN.X.production.cmf
│ │ ├── CAN.X.production.elf
│ │ ├── CAN.X.production.hex
│ │ ├── CAN.X.production.hxl
│ │ ├── CAN.X.production.lst
│ │ ├── CAN.X.production.map
│ │ ├── CAN.X.production.mum
│ │ ├── CAN.X.production.obj
│ │ ├── CAN.X.production.rlf
│ │ ├── CAN.X.production.sdb
│ │ ├── CAN.X.production.sym
│ │ └── memoryfile.xml
│ ├── main.c
│ ├── Makefile
│ └── nbproject
│ ├── configurations.xml
│ ├── Makefile-default.mk
│ ├── Makefile-genesis.properties
│ ├── Makefile-impl.mk
│ ├── Makefile-local-default.mk
│ ├── Makefile-variables.mk
│ ├── Package-default.bash
│ ├── private
│ │ ├── configurations.xml
│ │ ├── private.xml
│ │ └── SuppressibleMessageMemo.properties
│ └── project.xml
├── I2C.X
│ ├── build
│ │ └── default
│ │ ├── debug
│ │ │ ├── main.p1
│ │ │ ├── main.p1.d
│ │ │ └── main.pre
│ │ └── production
│ │ ├── main.p1
│ │ ├── main.p1.d
│ │ └── main.pre
│ ├── dist
│ │ └── default
│ │ ├── debug
│ │ │ ├── I2C.X.debug.cmf
│ │ │ ├── I2C.X.debug.elf
│ │ │ ├── I2C.X.debug.hxl
│ │ │ ├── I2C.X.debug.lst
│ │ │ ├── I2C.X.debug.map
│ │ │ ├── I2C.X.debug.mum
│ │ │ ├── I2C.X.debug.obj
│ │ │ ├── I2C.X.debug.rlf
│ │ │ ├── I2C.X.debug.sdb
│ │ │ ├── I2C.X.debug.sym
│ │ │ └── memoryfile.xml
│ │ └── production
│ │ ├── I2C.X.production.cmf
│ │ ├── I2C.X.production.elf
│ │ ├── I2C.X.production.hex
│ │ ├── I2C.X.production.hxl
│ │ ├── I2C.X.production.lst
│ │ ├── I2C.X.production.map
│ │ ├── I2C.X.production.mum
│ │ ├── I2C.X.production.obj
│ │ ├── I2C.X.production.rlf
│ │ ├── I2C.X.production.sdb
│ │ ├── I2C.X.production.sym
│ │ └── memoryfile.xml
│ ├── main.c
│ ├── Makefile
│ └── nbproject
│ ├── configurations.xml
│ ├── Makefile-default.mk
│ ├── Makefile-genesis.properties
│ ├── Makefile-impl.mk
│ ├── Makefile-local-default.mk
│ ├── Makefile-variables.mk
│ ├── Package-default.bash
│ ├── private
│ │ ├── configurations.xml
│ │ ├── private.xml
│ │ └── SuppressibleMessageMemo.properties
│ └── project.xml
├── LED.X
│ ├── build
│ │ └── default
│ │ └── production
│ │ ├── main.p1
│ │ ├── main.p1.d
│ │ └── main.pre
│ ├── dist
│ │ └── default
│ │ └── production
│ │ ├── LED.X.production.cmf
│ │ ├── LED.X.production.elf
│ │ ├── LED.X.production.hex
│ │ ├── LED.X.production.hxl
│ │ ├── LED.X.production.lst
│ │ ├── LED.X.production.map
│ │ ├── LED.X.production.mum
│ │ ├── LED.X.production.obj
│ │ ├── LED.X.production.rlf
│ │ ├── LED.X.production.sdb
│ │ ├── LED.X.production.sym
│ │ └── memoryfile.xml
│ ├── main.c
│ ├── Makefile
│ └── nbproject
│ ├── configurations.xml
│ ├── Makefile-default.mk
│ ├── Makefile-genesis.properties
│ ├── Makefile-impl.mk
│ ├── Makefile-local-default.mk
│ ├── Makefile-variables.mk
│ ├── Package-default.bash
│ ├── private
│ │ ├── configurations.xml
│ │ ├── private.xml
│ │ └── SuppressibleMessageMemo.properties
│ └── project.xml
├── TIM.X
│ ├── build
│ │ └── default
│ │ └── production
│ │ ├── main.p1
│ │ ├── main.p1.d
│ │ └── main.pre
│ ├── debug
│ │ └── default
│ │ ├── defmplabxtrace.log
│ │ └── defmplabxtrace.log.inx
│ ├── dist
│ │ └── default
│ │ └── production
│ │ ├── memoryfile.xml
│ │ ├── TIM.X.production.cmf
│ │ ├── TIM.X.production.elf
│ │ ├── TIM.X.production.hex
│ │ ├── TIM.X.production.hxl
│ │ ├── TIM.X.production.lst
│ │ ├── TIM.X.production.map
│ │ ├── TIM.X.production.mum
│ │ ├── TIM.X.production.obj
│ │ ├── TIM.X.production.rlf
│ │ ├── TIM.X.production.sdb
│ │ └── TIM.X.production.sym
│ ├── main.c
│ ├── Makefile
│ └── nbproject
│ ├── configurations.xml
│ ├── Makefile-default.mk
│ ├── Makefile-genesis.properties
│ ├── Makefile-impl.mk
│ ├── Makefile-local-default.mk
│ ├── Makefile-variables.mk
│ ├── Package-default.bash
│ ├── private
│ │ ├── configurations.xml
│ │ ├── private.xml
│ │ └── SuppressibleMessageMemo.properties
│ └── project.xml
└── UART.X
├── build
│ └── default
│ ├── debug
│ │ ├── main.p1
│ │ ├── main.p1.d
│ │ └── main.pre
│ └── production
│ ├── main.p1
│ ├── main.p1.d
│ └── main.pre
├── dist
│ └── default
│ ├── debug
│ │ ├── memoryfile.xml
│ │ ├── UART.X.debug.cmf
│ │ ├── UART.X.debug.elf
│ │ ├── UART.X.debug.hxl
│ │ ├── UART.X.debug.lst
│ │ ├── UART.X.debug.map
│ │ ├── UART.X.debug.mum
│ │ ├── UART.X.debug.obj
│ │ ├── UART.X.debug.rlf
│ │ ├── UART.X.debug.sdb
│ │ └── UART.X.debug.sym
│ └── production
│ ├── memoryfile.xml
│ ├── UART.X.production.cmf
│ ├── UART.X.production.elf
│ ├── UART.X.production.hex
│ ├── UART.X.production.hxl
│ ├── UART.X.production.lst
│ ├── UART.X.production.map
│ ├── UART.X.production.mum
│ ├── UART.X.production.obj
│ ├── UART.X.production.rlf
│ ├── UART.X.production.sdb
│ └── UART.X.production.sym
├── main.c
├── Makefile
└── nbproject
├── configurations.xml
├── Makefile-default.mk
├── Makefile-genesis.properties
├── Makefile-impl.mk
├── Makefile-local-default.mk
├── Makefile-variables.mk
├── Package-default.bash
├── private
│ ├── configurations.xml
│ ├── private.xml
│ └── SuppressibleMessageMemo.properties
└── project.xml
64 directories, 225 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论