《防爆磁力启动器原理与维修》 * 技术教程集合 * PLC入门教程 电工基础教程
论坛使用帮助 PLC视频教程下载 升级VIP用户的方法成伟新帖

PIC单片机的I2C应用程序1

[复制链接]
查看1438 | 回复0 | 2011-9-7 22:59:29 | 显示全部楼层 |阅读模式
<




PIC单片机的I2C应用程序1
; Functionality:
;
; This code implements the basic functions for an I2C slave device
; using the SSP module. All I2C functions are handled in an ISR.
; Bytes written to the slave are stored in a buffer. After a number
; of bytes have been written, the master device can then read the
; bytes back from the buffer.
;
; Variables and Constants used in the program:
;
; The start address for the receive buffer is stored in the variable
;
热帖推荐
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则