#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定義串行時鐘線所在口 使用時根據自己的需要 sbit SDA=
#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定義串行時鐘線所在口 使用時根據自己的需要 sbit SDA= P1^7 //定義串行數據線所在口 使用時根據自己的需要 #define SomeNOP() {_...
#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定義串行時鐘線所在口 使用時根據自己的需要 sbit SDA= P1^7 //定義串行數據線所在口 使用時根據自己的需要 #define SomeNOP() {_...
c51中的intrins.h庫函數 _crol_ 字符循環左移 _cror_ 字符循環右移 _irol_ 整數循環左移 _iror_ 整數循環右移 _lrol_ 長整數循環左移 _lror_ 長整數循環右移 _nop_ 空操作8051 NOP 指令 _testbit_ ...
12864液晶原程序.#include <reg52.h> #include <intrins.h> typedef unsigned char BYTE typedef bit BOOL sbit rs=P2^0 sbit rw=P2^1 sbit e ...
單字右移1616點陣右移C程序16bit #include<reg51.h> #include<intrins.h> sbit DAT=P1^0 /*"74HC595第14腳 數據 ",0*/ sbit YW=P1^1 /*"74HC595第11腳 移位存 ...
#include "REG51.H" #include <intrins.h> #include "Common.h" //#include "Remote.h" #define OSD_EN //typedef unsigned char uCHAR //#i...