2
1
14
新手上路
使用道具 举报 送花
19
3269
6028
论坛元老
86
6239
1万
超级版主
786
管理员
8
317
1840
金牌会员
void UartSend(uchar dat) { uchar i=8; DAT_tx = 0;// 起始位 Delay104us();//9600 while(i--) { if(dat & 0x01) DAT_tx = 1; else DAT_tx = 0; dat>>=1; Delay104us(); } DAT_tx = 1;// 停止位 Delay104us(); }复制代码
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2025-10-13 05:25 , Processed in 0.117305 second(s), 72 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.