欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: Proteus8.7仿真STM32+LCD12846(無字庫版本)有問題 求幫助 [打印本頁]

作者: 我一歲    時間: 2020-5-9 15:16
標題: Proteus8.7仿真STM32+LCD12846(無字庫版本)有問題 求幫助
開始學習proteus仿真,完成了12864的仿真~供大家學習交流
仿真原理圖如下(proteus仿真工程文件可到本帖附件中下載)


單片機源程序如下:
  1. #include "delay.h"
  2. #include "sys.h"
  3. #include "12864.h"
  4. #include "led.h"
  5. #include "usart.h"
  6. #include "exti.h"
  7. #include "timer.h"
  8. #include "bmp.h"
  9. #include "stm32f10x_tim.h"
  10. #include "stm32f10x_exti.h"
  11. #include "stm32f10x.h"
  12.         int i;
  13. int main(void)
  14. {               
  15.         Init_12864();       //初始化帶字庫12864液晶         ");
  16.                 i=5;
  17.         LCD_Send_Data(2,42,i);//42
  18.         LCD_P6x8Str(2,48,".");//48
  19.         LCD_Send_Data(2,54,6);//54
  20.         LCD_P6x8Str(2,0,"BMP180:");
  21.         LCD_P6x8Str(3,0,"MQ-2  :");
  22.         while(1)
  23.         {
  24.            long UT,UP;
  25.     IIC_Init();
  26.           IIC_Init1();
  27.                  UT = Get_BMP180UT();         
  28.                  UP = Get_BMP180UP();        
  29.           LCD_Send_Data(5,0,UP);//54
  30.           LCD_Send_Data(4,0,UT);//54
  31.   }
  32. }
復制代碼

所有資料51hei提供下載:
仿真工程.rar (296.07 KB, 下載次數: 55)
Project_1.7z (413.49 KB, 下載次數: 53)







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