文件名称:FOSVOSGM7113
介绍说明--下载内容均来自于网络,请自行研究使用
51单片机和GM7113的硬件连接非常简单,只要把单片机的两个I/O口(如P1.0、P1.0)直接和GM7113的SCL、SDA管脚相连,再加上上拉电阻即可。
用单片机初始化GM7113的主要任务是程序的编写,首先要熟悉I2C总线协议,根据I2C总线的原理写出启动、停止、应答信号等的子程序,由子程序再写出发送、接收1个字节的程序,然后根据GM7113的寄存器操作格式写出读写寄存器的程序,最后根据以上的子程序写出初始化GM7113的程序段。
-51 Single-chip and hardware to connect GM7113 very simple, as long as the two single-chip I/O port (for example, P1.0, P1.0) direct and GM7113 of SCL, SDA pin connected, coupled with the pull- resistance can be. MCU initialization GM7113
用单片机初始化GM7113的主要任务是程序的编写,首先要熟悉I2C总线协议,根据I2C总线的原理写出启动、停止、应答信号等的子程序,由子程序再写出发送、接收1个字节的程序,然后根据GM7113的寄存器操作格式写出读写寄存器的程序,最后根据以上的子程序写出初始化GM7113的程序段。
-51 Single-chip and hardware to connect GM7113 very simple, as long as the two single-chip I/O port (for example, P1.0, P1.0) direct and GM7113 of SCL, SDA pin connected, coupled with the pull- resistance can be. MCU initialization GM7113
相关搜索: asm
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GM7113_FOSVOS.ASM
GM7113_FOSVOS.c
GM7113_FOSVOS.c