标题: 示波器例程_神舟王STM32F407IG-库函数版 [打印本页]

作者: yyp20034    时间: 2017-6-12 17:38
标题: 示波器例程_神舟王STM32F407IG-库函数版
示波器例程_神舟王STM32F407IG-库函数版

单片机源程序如下:
  1. /******************** (C) COPYRIGHT 2013 STMicroelectronics ********************
  2. * File Name          : main.c
  3. * Version            :
  4. * Date               :
  5. * Description        : STM32神舟王407IGT开发板    广州
  6. *******************************************************************************/
  7. #include "main.h"
  8. #include "picture.h"
  9. #include "TouchScreen.h"
  10. #include "bsp_button.h"                /* 按键驱动模块 */
  11. #include "bsp_timer.h"                /* systick定时器模块 */
  12. #include "dso.h"                        /* 示波器主模块 */
  13. #include "bsp_adc.h"               


  14. //static void InitBoard(void);


  15. int main(void)
  16. {
  17.         /*初始化串口*/
  18.         Printf_Init();
  19.         
  20.         /*初始化按键*/
  21.         bsp_InitButton();
  22.         
  23.         /*初始TFT彩屏*/
  24.         STM324xG_LCD_Init();

  25.         DsoMain();                /* 进入DSO主程序 */
  26.         
  27.         while (1)
  28.         {         
  29.         }
  30. }

  31. /*
  32. *********************************************************************************************************
  33. *        函 数 名: InitBoard
  34. *        功能说明: 初始化硬件设备
  35. *        形    参:无
  36. *        返 回 值: 无
  37. *********************************************************************************************************
  38. */
  39. //static void InitBoard(void)
  40. //{        
  41. //        /* 配置串口,用于printf输出 */
  42. //        bsp_InitUart();
  43. //        
  44. //        /* 配置LED指示灯GPIO */
  45. //        bsp_InitLed();
  46. //
  47. ……………………

  48. …………限于本文篇幅 余下代码请从51黑下载附件…………
复制代码

所有资料51hei提供下载:
示波器例程_神舟王STM32F407IG-库函数版.rar (419.16 KB, 下载次数: 59)



作者: cnc202    时间: 2019-4-14 22:16
good work
作者: shaoshoufeng    时间: 2019-4-15 20:34
感谢分享,下来学习一下




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