sbit CS = P1^0 sbit SCK = P1^6 sbit SIN = P1^7 sbit SOUT = P1^5 sbit WP = P1^1
sbit CS = P1^0 sbit SCK = P1^6 sbit SIN = P1^7 sbit SOUT = P1^5 sbit WP = P1^1 void XReady(void) void XSendByte(unsigned char ...
sbit CS = P1^0 sbit SCK = P1^6 sbit SIN = P1^7 sbit SOUT = P1^5 sbit WP = P1^1 void XReady(void) void XSendByte(unsigned char ...
st7920 128*64测试程序sbit RS = P1^0 sbit RW = P1^1 sbit E = P1^2...
摄像机电机的自动控制,温度采集 sbit inc=P3^4 //焦距增加值按键 sbit dec=P3^5 //焦距减少值按键 sbit m0=P1^6 //焦距电机正转输出 sbit m1=P1^5 //焦距电机反转输出 sbit rled=P1^2 //输出至红发光管 sbit gl...
#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定义串行时钟线所在口 使用时根据自己的需要 sbit SDA= P1^7 //定义串行数据线所在口 使用时根据自己的需要 #define SomeNOP() {_...
DS1302读写一体化C51源程序 以下引脚定义部分根据实际接线情况作适当调整 sbit TIMECLK = P1^0 sbit TIMERST = P1^1 //禁止DS1302 sbit TIMEIO = P1^2 //释放数据总线...