文件名称:MEMS
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [MacOS] [C/C++] [源码]
- 上传时间:
- 2013-11-01
- 文件大小:
- 46kb
- 下载次数:
- 0次
- 提 供 者:
- V***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
This example shows how to configure the MEMS accelerometre to detect acceleration X/Y axis
and to detect the click/double click on Z axis.
After startup the program checks the MEMS accelerometre status registers and behaves as follows:
1. If the board is moved the acceleration is detected on x/Y axis and LEDs toggles according to
the motion direction and speed.
2. If a click is detected on Z axis LED3 and LED6 toggles during 3s.
3. If a double click is detected on Z axis all LEDs toggles during 3s. -This example shows how to configure the MEMS accelerometre to detect acceleration on X/Y axis
and to detect the click/double click on Z axis.
After startup the program checks the MEMS accelerometre status registers and behaves as follows:
1. If the board is moved the acceleration is detected on x/Y axis and LEDs toggles according to
the motion direction and speed.
2. If a click is detected on Z axis LED3 and LED6 toggles during 3s.
3. If a double click is detected on Z axis all LEDs toggles during 3s.
and to detect the click/double click on Z axis.
After startup the program checks the MEMS accelerometre status registers and behaves as follows:
1. If the board is moved the acceleration is detected on x/Y axis and LEDs toggles according to
the motion direction and speed.
2. If a click is detected on Z axis LED3 and LED6 toggles during 3s.
3. If a double click is detected on Z axis all LEDs toggles during 3s. -This example shows how to configure the MEMS accelerometre to detect acceleration on X/Y axis
and to detect the click/double click on Z axis.
After startup the program checks the MEMS accelerometre status registers and behaves as follows:
1. If the board is moved the acceleration is detected on x/Y axis and LEDs toggles according to
the motion direction and speed.
2. If a click is detected on Z axis LED3 and LED6 toggles during 3s.
3. If a double click is detected on Z axis all LEDs toggles during 3s.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MEMS
....\.DS_Store
__MACOSX
........\MEMS
........\....\._.DS_Store
MEMS\EWARM
....\.....\LIS302DL.ewd
....\.....\LIS302DL.ewp
....\.....\LIS302DL.eww
....\.....\stm32f4xx_flash.icf
....\main.c
....\main.h
....\MDK-ARM
....\.......\LIS302DL.uvopt
....\.......\LIS302DL.uvproj
....\readme.txt
....\stm32f4xx_conf.h
....\stm32f4xx_it.c
....\stm32f4xx_it.h
....\system_stm32f4xx.c
....\TASKING
....\.......\.metadata
....\.......\.........\Link
....\.......\LIS302DL
....\.......\........\.cproject
....\.......\........\.project
....\.......\........\LIS302DL.launch
....\.......\........\TASKING
....\.......\........\.......\stm32f4xx.lsl
....\TrueSTUDIO
....\..........\.metadata
....\..........\.........\Link
....\..........\LIS302DL
....\..........\........\.cproject
....\..........\........\.project
....\..........\........\.settings
....\..........\........\.........\com.atollic.truestudio.debug.hardware_device.prefs
....\..........\........\LIS302DL.elf.launch
....\..........\........\stm32_flash.ld