|
示波器例程_神舟王STM32F407IG-庫函數版
單片機源程序如下:
- /******************** (C) COPYRIGHT 2013 STMicroelectronics ********************
- * File Name : main.c
- * Version :
- * Date :
- * Description : STM32神舟王407IGT開發板 廣州
- *******************************************************************************/
- #include "main.h"
- #include "picture.h"
- #include "TouchScreen.h"
- #include "bsp_button.h" /* 按鍵驅動模塊 */
- #include "bsp_timer.h" /* systick定時器模塊 */
- #include "dso.h" /* 示波器主模塊 */
- #include "bsp_adc.h"
- //static void InitBoard(void);
- int main(void)
- {
- /*初始化串口*/
- Printf_Init();
-
- /*初始化按鍵*/
- bsp_InitButton();
-
- /*初始TFT彩屏*/
- STM324xG_LCD_Init();
- DsoMain(); /* 進入DSO主程序 */
-
- while (1)
- {
- }
- }
- /*
- *********************************************************************************************************
- * 函 數 名: InitBoard
- * 功能說明: 初始化硬件設備
- * 形 參:無
- * 返 回 值: 無
- *********************************************************************************************************
- */
- //static void InitBoard(void)
- //{
- // /* 配置串口,用于printf輸出 */
- // bsp_InitUart();
- //
- // /* 配置LED指示燈GPIO */
- // bsp_InitLed();
- //
- ……………………
- …………限于本文篇幅 余下代碼請從51黑下載附件…………
復制代碼
所有資料51hei提供下載:
示波器例程_神舟王STM32F407IG-庫函數版.rar
(419.16 KB, 下載次數: 59)
2017-6-12 17:38 上傳
點擊文件名下載附件
|
評分
-
查看全部評分
|