标题: stm32f103zet6驱动六线的OLED源码 [打印本页]

作者: 忧郁的伤6501    时间: 2018-4-26 20:35
标题: stm32f103zet6驱动六线的OLED源码
stm32单片机源程序如下:
  1. /****************

  2. ******OLED引脚接法如下****
  3.         *DC——A15
  4.         *RET——B3
  5.         *D1——B4
  6.         *D0——B5
  7. *****************************

  8. ********其中需要关闭JTAG功能

  9. **************************/

  10. #include "stm32f10x.h"
  11. #include "oled.h"

  12. float temp=3.3;


  13. int main(void)
  14. {        
  15.          
  16.            OLED_Init();
  17.           Draw_Logo();
  18.           OLED_Fill(0x00);
  19. //    OLED_Print(36,2,"电");
  20. //                OLED_P6x8Str(0,1,"ROLL:");
  21. //          OLED_P6x8Str(0,2,"PITCH:");
  22. //          OLED_P6x8Str(0,3,"YAW:");
  23.           //        Dis_Float(2,40,temp,2);

  24.           display_page1();
  25.     //OLED_4num(14,5,temp);//I设定值坐标4 5  测量值坐标 14 5
  26.          
  27.           while(1);
  28. }
复制代码

所有资料51hei提供下载:
OLED.rar (289.95 KB, 下载次数: 91)



作者: DigitaiMotol    时间: 2018-7-15 10:59
谢谢分享
作者: forcexda    时间: 2019-10-13 12:28
这个不能驱动c8t6楼主黑了心挣黑币,小白别下,浪费时间!
作者: forcexda    时间: 2019-10-13 12:28
而且这个是zet6的程序!什么c8t6




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1