📄 serial.h
字号:
//serial.h
#ifndef _SERIAL_H
#define _SERIAL_H
#include <reg51.h>
#include <intrins.h>
//引脚定义
sbit SER_SID = P1^1; //数据
sbit SER_SCLK = P1^4; //时钟
//Funcitons
void Ser_Delay(unsigned char uchDly);
void Ser_SendByte(unsigned char uchValue);
#endif //_SERIAL_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -