|
|
| (未显示同一用户的1个中间版本) |
| 第1行: |
第1行: |
| − | {| style="width: 800px;"
| |
| − | |-
| |
| − | |
| |
| − | {| border="0" cellpadding="10" width="100%"
| |
| − | |-
| |
| − | |width="65%" valign="top" align="left"|
| |
| − | <p style="color: #E87E05;font-size:155%">描述</p>
| |
| − | 该库用于Microduino/mCookie核心读取姿态传感器三轴加速度,三轴角速度和三轴角度,并可查固件版本号,其采用I2C通信,地址为0x6A。
| |
| − | <br>
| |
| − | <br>
| |
| − | <p style="color: #E87E05;font-size:155%">引脚</p>
| |
| − | I2C接口
| |
| − | <br>
| |
| − | <br>
| |
| − | <p style="color: #E87E05;font-size:155%">示例</p>
| |
| − | *[[获取姿态传感器三轴角度]]
| |
| − | |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>
| |
| − |
| |
| − |
| |
| − | 【[[Sensor-Motion|返回Sensor-Motion界面]]】
| |
| − | <br>
| |
| − |
| |
| − | 【[[mCookie传感器编程手册]]】
| |