exercise_05.txt
来自「USB的开发例子,用PIC18F4550实现.可以和电脑用USB控制连接.」· 文本 代码 · 共 24 行
TXT
24 行
void Exercise_05(void)
{
static word ex05_count;
if(ex05_count == 0)
{
AcquireTemperature(); // Read temperature from sensor
UpdateCelsiusASCII(); // Convert to ASCII, stored in
// "tempString", See temperature.c
/* Modify the code below - 3 lines */
if(mUSBUSARTIsTxTrfReady())
{
putsUSBUSART(tempString);
ex05_count = 10000;
}
/* End */
}
else
ex05_count--;
}//end Exercise_05
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?