“Sensor-Motion Reference”的版本间的差异
| 第5行: | 第5行: | ||
|- | |- | ||
|width="65%" valign="top" align="left"| | |width="65%" valign="top" align="left"| | ||
| − | <p style="color: #E87E05;font-size: | + | <p style="color: #E87E05;font-size:155%">描述</p> |
| − | + | 该库用于Microduino/mCookie核心读取姿态传感器三轴加速度,三轴角速度和三轴角度,并可查固件版本号,其采用I2C通信,地址为0x6A。 | |
| − | |||
| − | |||
| − | |||
<br> | <br> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<br> | <br> | ||
| − | + | <p style="color: #E87E05;font-size:155%">引脚</p> | |
| + | I2C接口 | ||
<br> | <br> | ||
<br> | <br> | ||
| − | <p style="color: #E87E05;font-size: | + | <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> | ::<p style="color: #E87E05;font-size:155%">功能</p> | ||
::*'''Constructor/结构体''' | ::*'''Constructor/结构体''' | ||
| − | ::**[[sensorMotion | + | ::**[[sensorMotion]] |
| + | |||
| + | |||
::*'''Functions/函数''' | ::*'''Functions/函数''' | ||
| − | ::**[[sensorMotion.begin()|begin()]] | + | ::**[[sensorMotion.begin()_I2C|begin()]] |
| − | ::**[[sensorMotion. | + | ::**[[sensorMotion.getVersion()|getVersion()]] |
| − | ::**[[sensorMotion. | + | ::**[[sensorMotion.getYaw()|getYaw()]] |
| − | ::**[[sensorMotion. | + | ::**[[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> | ||
| − | 【[[ | + | 【[[Sensor-Motion|返回Sensor-Motion界面]]】 |
| + | <br> | ||
【[[mCookie传感器编程手册]]】 | 【[[mCookie传感器编程手册]]】 | ||
2018年5月17日 (四) 07:05的最新版本
|