文件名称:STM32-anjianshurushiyan
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-02-24
- 文件大小:
- 120kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本实验,通过开发板上载有的4个按钮(KEY_UP、KEY0、KEY1和KEY2),来控制板
上的2个LED(DS0和DS1)和蜂鸣器,其中WK_UP控制蜂鸣器,按一次叫,再按一次
停;KEY2控制DS0,按一次亮,再按一次灭;KEY1控制DS1,效果同KEY2;KEY0则
同时控制DS0和DS1,按一次,他们的状态就翻转一次。 -In this study, by the development board contained four buttons (KEY_UP, KEY0, KEY1 and KEY2), to control two LED (DS0 and DS1) and buzzer board, which WK_UP control the buzzer, press the call press again to stop KEY2 control DS0, press on, press off KEY1 control DS1, the same effect as KEY2 KEY0 the simultaneous control of DS0 and DS1, press, their status will flip once.
上的2个LED(DS0和DS1)和蜂鸣器,其中WK_UP控制蜂鸣器,按一次叫,再按一次
停;KEY2控制DS0,按一次亮,再按一次灭;KEY1控制DS1,效果同KEY2;KEY0则
同时控制DS0和DS1,按一次,他们的状态就翻转一次。 -In this study, by the development board contained four buttons (KEY_UP, KEY0, KEY1 and KEY2), to control two LED (DS0 and DS1) and buzzer board, which WK_UP control the buzzer, press the call press again to stop KEY2 control DS0, press on, press off KEY1 control DS1, the same effect as KEY2 KEY0 the simultaneous control of DS0 and DS1, press, their status will flip once.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验3 按键输入实验\HARDWARE\BEEP\beep.c
..................\........\....\beep.h
..................\........\KEY\key.c
..................\........\...\key.h
..................\........\LED\led.c
..................\........\...\led.h
..................\keilkill.bat
..................\OBJ\TEST.hex
..................\readme.txt
..................\SYSTEM\delay\delay.c
..................\......\.....\delay.h
..................\......\readme.txt
..................\......\sys\core_cm4.h
..................\......\...\core_cm4_simd.h
..................\......\...\core_cmFunc.h
..................\......\...\core_cmInstr.h
..................\......\...\stm32f4xx.h
..................\......\...\sys.c
..................\......\...\sys.h
..................\......\...\system_stm32f4xx.h
..................\......\usart\usart.c
..................\......\.....\usart.h
..................\USER\JLinkSettings.ini
..................\....\startup_stm32f40_41xxx.s
..................\....\test.c
..................\....\TEST.uvguix.Administrator
..................\....\TEST.uvoptx
..................\....\TEST.uvprojx
..................\HARDWARE\BEEP
..................\........\KEY
..................\........\LED
..................\SYSTEM\delay
..................\......\sys
..................\......\usart
..................\HARDWARE
..................\OBJ
..................\SYSTEM
..................\USER
实验3 按键输入实验