chinese直男口爆体育生外卖, 99久久er热在这里只有精品99, 又色又爽又黄18禁美女裸身无遮挡, gogogo高清免费观看日本电视,私密按摩师高清版在线,人妻视频毛茸茸,91论坛 兴趣闲谈,欧美 亚洲 精品 8区,国产精品久久久久精品免费

您好,歡迎來(lái)電子發(fā)燒友網(wǎng)! ,新用戶(hù)?[免費(fèi)注冊(cè)]

您的位置:電子發(fā)燒友網(wǎng)>源碼下載>匯編編程>

基于AVR單片機(jī)電子時(shí)鐘的設(shè)計(jì)(完整程序分享)

大?。?/span>0.1 MB 人氣: 2017-11-27 需要積分:0

  本文介紹了基于AVR單片機(jī)電子時(shí)鐘的設(shè)計(jì)(完整程序分享)。

  #include 《avr/signal.h》

  #include 《avr/interrupt.h》

  #include 《avr/delay.h》

  #include 《avr/wdt.h》

  #include 《avr/eeprom.h》

  #include 《math.h》

  #include 《stdlib.h》

  #include 《string.h》

  #define uchar unsigned char

  #define uint unsigned int

  #define xtal 8

  #define CS PA5

  #define SID PA6

  #define SCLK PA7

  #define Set_CS() DDRA |= (1《《CS);PORTA |= (1《《CS)

  #define Set_SID() DDRA |= (1《《SID);PORTA |= (1《《SID)

  #define Set_SCLK() DDRA |= (1《《SCLK);PORTA |= (1《《SCLK)

  #define Clr_CS() DDRA |= (1《《CS);PORTA &=~(1《《CS)

  #define Clr_SID() DDRA |= (1《《SID);PORTA &=~(1《《SID)

  #define Clr_SCLK() DDRA |= (1《《SCLK);PORTA &=~(1《《SCLK)

  #define HH 2 //定義 時(shí) 為2

  #define MM 1 //定義 分 為1

  #define SS 0 //定義 秒 為0

  volatile unsigned char Time_h_m_s[3]={0,0,0}; //時(shí)間的 時(shí) 分 秒 存貯單元

  volatile unsigned char flash_sign=0x00;

非常好我支持^.^

(13) 100%

不好我反對(duì)

(0) 0%

      發(fā)表評(píng)論

      用戶(hù)評(píng)論
      評(píng)價(jià):好評(píng)中評(píng)差評(píng)

      發(fā)表評(píng)論,獲取積分! 請(qǐng)遵守相關(guān)規(guī)定!

      ?