📄 os_rtc.c
字号:
#define RTSR (*(volatile unsigned char * )(0x40900008))
extern void SerialInit(void);
extern void SerialOutputByte(const char );
extern void SerialOutputString(char * );
extern void init_ads7843(void);
#include "ads7843.h"
void dummyOs()
{
char * string1 = "\nTouch Screen Experiment,Please drop the Screen\n";
SerialInit();
SerialOutputString(string1);
init_ads7843();
while(1)
{
//wait for the Interrupt from the Serial Input.
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -