熱門(mén): 51單片機(jī) | 24小時(shí)必答區(qū) | 單片機(jī)教程 | 單片機(jī)DIY制作 | STM32 | Cortex M3 | 模數(shù)電子 | 電子DIY制作 | 音響/功放 | 拆機(jī)樂(lè)園 | Arduino | 嵌入式OS | 程序設(shè)計(jì)
![]() |
發(fā)布時(shí)間: 2020-4-28 22:22
正文摘要:我想點(diǎn)亮led點(diǎn)陣左上角一個(gè)led燈為什么點(diǎn)亮了一排。 #include<reg52.h> #include<intrins.h> sbit se = P0 ^ 2; sbit sc = P0 ^ 1; sbit rc = P0 ^ 0; int dat1,dat2; void ledsend(int); void main ... |
你這光是條程序也沒(méi)法看啊,萬(wàn)一是你硬件電路的問(wèn)題呢 |
師兄,不是這么提問(wèn)的。 你的程序,和你的硬件、電路密切相關(guān)。光看程序怎么知道是什么問(wèn)題呢 |
參與人數(shù) 1 | 黑幣 +20 | 收起 理由 |
---|---|---|
![]() | + 20 | 回帖助人的獎(jiǎng)勵(lì)! |
Powered by 單片機(jī)教程網(wǎng)