![]() |
發(fā)布時間: 2018-5-26 14:16
正文摘要:DS1302芯片,功能是電子時鐘,他的部分程序 #include "main.h" #include "ds1302.h" code uint8 Ledcode[13]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff,0xbf,0x86}; uint8 Time[7 ... |
頭文件路徑和程序不在一個文件夾,復(fù)制到同一個文件夾,或者百度DOS文件包含命令,比如#include "main.h"改成#include "..\xx\main.h" |
參與人數(shù) 1 | 黑幣 +20 | 收起 理由 |
---|---|---|
![]() | + 20 | 回帖助人的獎勵! |
Powered by 單片機教程網(wǎng)