標(biāo)題:
基于自學(xué)stm32板子寫的萬(wàn)年歷時(shí)鐘源碼
[打印本頁(yè)]
作者:
淡淡的高中生
時(shí)間:
2018-4-3 17:25
標(biāo)題:
基于自學(xué)stm32板子寫的萬(wàn)年歷時(shí)鐘源碼
0.jpg
(44.89 KB, 下載次數(shù): 67)
下載附件
2018-4-4 04:39 上傳
單片機(jī)源程序如下:
#include "stm32f10x.h"
#include "led.h"
#include "timer.h"
#include "key.h"
#include "usart.h"
#include "lcd.h"
#include "calendar.h"
#include "clock.h"
#include "main.h"
#include "dht11.h"
#include "display.h"
u8 key_on;
extern u8 shi_sn,shi_gn,fen_sn,fen_gn,miao_sn,miao_gn;
extern u16 year_li,month_li,day_li,week_li;
void main()
{
year = 2017;
month = 12;
day = 9;
year_li = year;
month_li = month;
day_li = 1; //第一天
shi = 13;
fen = 30;
miao = 30;
nshi = 0;
nfen = 0;
nmiao = 0;
key_on = 0;
Init_All(); //所有初始化函數(shù)
display_start(); //顯示開始畫面
while(1)
{
printf("213132\n");
}
}
復(fù)制代碼
所有資料51hei提供下載:
基于STM32的萬(wàn)年歷時(shí)鐘 -.zip
(465.41 KB, 下載次數(shù): 78)
2018-4-3 17:22 上傳
點(diǎn)擊文件名下載附件
文件
下載積分: 黑幣 -5
作者:
1243449743
時(shí)間:
2018-4-25 21:06
為什么沒有project文件?
作者:
c時(shí)光
時(shí)間:
2018-7-3 15:47
請(qǐng)問(wèn)這個(gè)萬(wàn)年歷是基于stm32f103rc制作的嗎?
作者:
我叫小大打
時(shí)間:
2020-3-10 11:33
假的
。
歡迎光臨 (http://www.torrancerestoration.com/bbs/)
Powered by Discuz! X3.1