#define__MSP430_HAS_BC2__#defineDCOCTL_(0x0056u)DEFC(DCOCTL,DCOCTL_)-DCO控制寄存器#defin…
#include#include#defineucharunsignedchar#defineDELAY5US_nop_();_nop_();_nop_();_nop_();//延时5us#defin
#includeat89x51.h>#includestdio.h>//————-#defineRWP1_0#defineRSP1_1#defineENP1_2#defin
includereg52h>defineuintunsignedintdefineucharunsignedchardefineZKB6占空比初始值设定defin
includemsp430x22x4hdefineI2C_SDA(operation)operation(3,1)defineI2C_SCL(operation)operation(3,2)defin
在线咨询:
邮箱: kf@86ic.com