?? debug_com.c
字號:
#include<iom16v.h> //在此設定avr類MCU的頭文件
#include<macros.h>
#include"xd.h"
#include"xdprj.h"
//參數:1)為要發送數據的起始地址, 2)a為數據長度
void txdpo(uchar *txdbuf, uchar a)
{
for(;a>0;a--)
{ UDR=*txdbuf;
txdbuf++;
while(!(UCSRA & BIT(UDRE)));
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -