1024手机基地看电影,午夜福利视频导航,国产精品福利在线一区,亚洲欧美日韩另类成人,在线观看午夜日本理论片,成年超爽免费网站,国产精品成人免费,精品动作一级毛片,成人免费观看网站,97精品伊人久久大香蕉

標題: stc15f2k60s2時鐘溫度按鍵程序 [打印本頁]

作者: hanhhh    時間: 2018-10-27 14:19
標題: stc15f2k60s2時鐘溫度按鍵程序
stc15f2k60s2時鐘溫度按鍵程序

單片機源程序如下:
  1. #include "stc15f2k60s2.h"
  2. #include "shumaguan.h"
  3. #include "djs.h"
  4. #include "leddeng.h"
  5. #include "zhongduan.h"
  6. #include "DS18B20.H"
  7. #include "enjian.h"

  8. void main()
  9. {

  10.   P2 = ((P2&0X1F)|0xa0);
  11.   P0 = 0x00;
  12.   P2&=0x1f;
  13.   init();
  14.   while(1)
  15.   {
  16.        
  17.         if(jm==1)
  18.         {
  19.          smgxs(ss,sg,10,fs,fg,10,ms,mg);
  20.         }
  21.         if(jm==2)
  22.         {
  23.          smgxs(13,13,13,13,wds,wdg,11,12);
  24.         }
  25.         if(jm==3)
  26.         {
  27.           led();
  28.         }
  29.           blfl();
  30.           ymzh();
  31.           naozhong();
  32.           wendu = ChangTemp_chabiao();
  33.           
  34.   
  35.   }
  36. }
復制代碼

所有資料51hei提供下載:
#溫度,時鐘,計時器,流水燈,按鍵.zip (36.85 KB, 下載次數(shù): 25)



作者: admin    時間: 2018-11-1 16:02
補全原理圖或者詳細說明一下電路連接即可獲得100+黑幣




歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1