实验2 蜂鸣器实验
所属分类:单片机开发
开发工具:C/C++
文件大小:3740KB
下载次数:0
上传日期:2019-05-27 18:13:53
上 传 者:
LHKLY
说明: 本实验通过代码控制开发板上的DS0和蜂鸣器,DS0闪烁,提示程序运行,而蜂鸣器
则周期性的发出“嘀”的声音,间隔为0.3秒。
(This experiment controls the DS0 and buzzer on the development board by code, and the DS0 flickers, prompting the program to run, while the buzzer
The periodic "beep" sounds are emitted at intervals of 0.3 seconds.)
文件列表:
CORE (0, 2016-04-15)
CORE\core_cm4.h (109142, 2016-04-15)
CORE\core_cm4_simd.h (22735, 2016-04-15)
CORE\core_cmFunc.h (17146, 2016-04-15)
CORE\core_cmInstr.h (20513, 2016-04-15)
CORE\startup_stm32f40_41xxx.s (29605, 2016-04-15)
FWLIB (0, 2016-04-15)
FWLIB\inc (0, 2016-04-15)
FWLIB\inc\misc.h (6924, 2016-04-15)
FWLIB\inc\stm32f4xx_adc.h (32880, 2016-04-15)
FWLIB\inc\stm32f4xx_can.h (27318, 2016-04-15)
FWLIB\inc\stm32f4xx_crc.h (2416, 2016-04-15)
FWLIB\inc\stm32f4xx_cryp.h (14481, 2016-04-15)
FWLIB\inc\stm32f4xx_dac.h (14946, 2016-04-15)
FWLIB\inc\stm32f4xx_dbgmcu.h (4296, 2016-04-15)
FWLIB\inc\stm32f4xx_dcmi.h (12977, 2016-04-15)
FWLIB\inc\stm32f4xx_dma.h (28882, 2016-04-15)
FWLIB\inc\stm32f4xx_dma2d.h (19692, 2016-04-15)
FWLIB\inc\stm32f4xx_exti.h (8012, 2016-04-15)
FWLIB\inc\stm32f4xx_flash.h (24467, 2016-04-15)
FWLIB\inc\stm32f4xx_flash_ramfunc.h (3275, 2016-04-15)
FWLIB\inc\stm32f4xx_fmc.h (44924, 2016-04-15)
FWLIB\inc\stm32f4xx_fsmc.h (27181, 2016-04-15)
FWLIB\inc\stm32f4xx_gpio.h (23548, 2016-04-15)
FWLIB\inc\stm32f4xx_hash.h (10084, 2016-04-15)
FWLIB\inc\stm32f4xx_i2c.h (31939, 2016-04-15)
FWLIB\inc\stm32f4xx_iwdg.h (4323, 2016-04-15)
FWLIB\inc\stm32f4xx_ltdc.h (21191, 2016-04-15)
FWLIB\inc\stm32f4xx_pwr.h (7728, 2016-04-15)
FWLIB\inc\stm32f4xx_rcc.h (30063, 2016-04-15)
FWLIB\inc\stm32f4xx_rng.h (3958, 2016-04-15)
FWLIB\inc\stm32f4xx_rtc.h (40546, 2016-04-15)
FWLIB\inc\stm32f4xx_sai.h (25470, 2016-04-15)
FWLIB\inc\stm32f4xx_sdio.h (22777, 2016-04-15)
FWLIB\inc\stm32f4xx_spi.h (21178, 2016-04-15)
FWLIB\inc\stm32f4xx_syscfg.h (8974, 2016-04-15)
FWLIB\inc\stm32f4xx_tim.h (51689, 2016-04-15)
FWLIB\inc\stm32f4xx_usart.h (17935, 2016-04-15)
FWLIB\inc\stm32f4xx_wwdg.h (3542, 2016-04-15)
FWLIB\src (0, 2016-04-15)
... ...
实验器材:
探索者STM32F4开发板
实验目的:
进一步学习GPIO作为输出的使用
硬件资源:
1,DS0(连接在PF9)
2,蜂鸣器(连接在PF8)
实验现象:
本实验通过代码控制开发板上的DS0和蜂鸣器,DS0闪烁,提示程序运行,而蜂鸣器
则周期性的发出“嘀”的声音,间隔为0.3秒。
注意事项:
无.
正点原子@ALIENTEK
2014-10-24
广州市星翼电子科技有限公司
电话:020-38271790
传真:020-36773971
购买:http://shop62103354.taobao.com
http://shop62057469.taobao.com
公司网站:www.alientek.com
技术论坛:www.openedv.com
近期下载者:
相关文件:
收藏者: