標(biāo)題: AVR單片機(jī)矩陣鍵盤控制電機(jī),求幫忙 [打印本頁]

作者: q350699658    時(shí)間: 2011-9-16 20:09
標(biāo)題: AVR單片機(jī)矩陣鍵盤控制電機(jī),求幫忙
AVR單片機(jī)矩陣鍵盤控制電機(jī),PE口接鍵盤,pc口接電機(jī),電機(jī)正轉(zhuǎn)是0x28,我不知道哪里有問題,求幫忙或是誰能提供一下 #include #define uchar unsigned char #define uint unsigned int uchar tab[]={0x28,0x28,0x28,0x28};//電機(jī)正轉(zhuǎn) void delay(uint k) { uint m,n; for(m=0;m 新建 文本文檔.txt (2.25 KB, 下載次數(shù): 21)
[此貼子已經(jīng)被作者于2011-9-16 20:13:42編輯過]





歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1