3737| 8
|
以前沒做過單片機寫了個簡單中斷出問題了,求助! |
50黑幣
最佳答案剛沒發(fā)出去?#include "reg51.h"
sbit K1=P3^1;
sbit K2=P3^0;
unsigned char led1[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
unsigned char led2[9]={0x7f,0x3f,0x9f,0xcf,0xe7,0xf3,0xf9,0xfc,0xfe};
unsigned char i,j;
void delay(unsigned int x)
{
unsigned char a,b;
while(x--);
for(a=0;a
| ||
相關帖子
|
||
| ||
評分
| ||||||||
| ||
| ||
| ||
| ||
| ||
Powered by 單片機教程網(wǎng)