“Sensor-Motion Reference”的版本间的差异
Machine1987(讨论 | 贡献) (创建页面,内容为“{| style="width: 800px;" |- | {| border="0" cellpadding="10" width="100%" |- |width="65%" valign="center" align="left"| <p style="color: #E87E05;font-size:155%">描...”) |
|||
(未显示2个用户的8个中间版本) | |||
第4行: | 第4行: | ||
{| border="0" cellpadding="10" width="100%" | {| border="0" cellpadding="10" width="100%" | ||
|- | |- | ||
− | |width="65%" valign=" | + | |width="65%" valign="top" align="left"| |
<p style="color: #E87E05;font-size:155%">描述</p> | <p style="color: #E87E05;font-size:155%">描述</p> | ||
− | + | 该库用于Microduino/mCookie核心读取姿态传感器三轴加速度,三轴角速度和三轴角度,并可查固件版本号,其采用I2C通信,地址为0x6A。 | |
+ | <br> | ||
<br> | <br> | ||
<p style="color: #E87E05;font-size:155%">引脚</p> | <p style="color: #E87E05;font-size:155%">引脚</p> | ||
− | + | I2C接口 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<br> | <br> | ||
<br> | <br> | ||
<p style="color: #E87E05;font-size:155%">示例</p> | <p style="color: #E87E05;font-size:155%">示例</p> | ||
− | *[[ | + | *[[获取姿态传感器三轴角度]] |
|width="35%" valign="top" align="left"| | |width="35%" valign="top" align="left"| | ||
+ | ::<p style="color: #E87E05;font-size:155%">功能</p> | ||
+ | ::*'''Constructor/结构体''' | ||
+ | ::**[[sensorMotion]] | ||
+ | |||
+ | |||
+ | ::*'''Functions/函数''' | ||
+ | ::**[[sensorMotion.begin()_I2C|begin()]] | ||
+ | ::**[[sensorMotion.getVersion()|getVersion()]] | ||
+ | ::**[[sensorMotion.getYaw()|getYaw()]] | ||
+ | ::**[[sensorMotion.getPitch()|getPitch()]] | ||
+ | ::**[[sensorMotion.getRoll()|getRoll()]] | ||
+ | |||
+ | ::**[[sensorMotion.getMotionRaw6()|getMotionRaw6()]] | ||
+ | ::**[[sensorMotion.getAccelerationRaw()|getAccelerationRaw()]] | ||
+ | ::**[[sensorMotion.getAccelerationRawX()|getAccelerationRawX()]] | ||
+ | ::**[[sensorMotion.getAccelerationRawY()|getAccelerationRawY()]] | ||
+ | ::**[[sensorMotion.getAccelerationRawZ()|getAccelerationRawZ()]] | ||
+ | ::**[[sensorMotion.getRotationRaw()|getRotationRaw()]] | ||
+ | ::**[[sensorMotion.getRotationRawX()|getRotationRawX()]] | ||
+ | ::**[[sensorMotion.getRotationRawY()|getRotationRawY()]] | ||
+ | ::**[[sensorMotion.getRotationRawZ()|getRotationRawZ()]] | ||
+ | ::**[[sensorMotion.getYawPitchRoll()|getYawPitchRoll()]] | ||
+ | |||
+ | |} | ||
+ | |} | ||
<br> | <br> | ||
<br> | <br> | ||
+ | |||
+ | |||
+ | 【[[Sensor-Motion|返回Sensor-Motion界面]]】 | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[ | + | 【[[mCookie传感器编程手册]]】 |
2018年5月17日 (四) 07:05的最新版本
|