![]() |
發布時間: 2024-3-16 09:47
正文摘要:主程序 #include "stm32f10x.h" // Device header #include "Delay.h" uint16_t temp, i, j; uint8_t table[] = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; //定義0~9的共陰極 ... |
xuyaqi 發表于 2024-3-17 06:12 您好,又試了一遍,已經亮了。但還是有點問題。我想問一下,這個數碼管動態顯示,單片機晶振如果是72Mhz的話,根據這個延時函數,Delay_ms()這個參數應該是多長時間呢? |
你沒有將單片機與程序關聯起來。
![]() |