📄 ir.h
字号:
#ifndef _IR_H#define _IR_H#include "sfr62p.h" // SFR definition of M16C/62P#include "timer.h" // timer utility header filevoid InitIR(void); // initialize infrared input and outputvoid SendTimer(void); // when the function is executed 16 times, 1 bit is sentvoid RecTimer(void); // when the function is executed 16 times, 1 bit is receivedchar Busy(void); // to show the period of sendingchar Send(unsigned char cSend); // send a characterchar CanReceive(void); // to show if a character is receivedunsigned char Receive(void); // receive a character#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -