STC89C52与AT24C02按字节写(C51)

STC89C52与AT24C02按字节写(C51)

#includereg52.h>#includeintrins.h>#defineucharunsignedcharuchari,a;ucharcodetable[]={0xC0,0xF9

广告

根据51单片机数码管的代码比如

根据51单片机数码管的代码比如

includeincludedefineucharunsignedchardefineuintunsignedintsbitdula=P2^6;sbitwela=P2^7;ucharcodetable

根据IIC总线协议的AT24C16操作程序

根据IIC总线协议的AT24C16操作程序

includedefineuintunsignedintdefineucharunsignedcharucharshi,ge,t,sec,write;ucharcodetable[]={0x3f,0x

10s计时器

10s计时器

includedefineucharunsignedchardefineuintunsignedintvoiddelayms(uint);ucharnum;ucharcodetable[]={0xc0

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部