“MicroRobot Reference”的版本间的差异
(未显示1个用户的7个中间版本) | |||
第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核心控制MicroRobot板,驱动电机、舵机,并从中读取数据。 | 该库用于Microduino核心控制MicroRobot板,驱动电机、舵机,并从中读取数据。 | ||
<br> | <br> | ||
− | <p style="color: #E87E05;font-size: | + | <br> |
+ | <p style="color: #E87E05;font-size:155%">引脚</p> | ||
可IIC接口控制MicroRobot。 | 可IIC接口控制MicroRobot。 | ||
<br> | <br> | ||
− | <p style="color: #E87E05;font-size: | + | <br> |
− | *[[ | + | <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> | ||
− | ::*[[MicroRobot() | + | ::*'''Constructor/结构体''' |
− | ::*[[MicroRobot.begin()|begin()]] | + | ::**[[MicroRobot()]] |
− | + | ::*'''Functions/函数''' | |
− | ::*[[MicroRobot.servoWrite()|servoWrite()]] | + | ::**[[MicroRobot.begin()|begin()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.servoWrite()|servoWrite()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.motorInit()|motorInit()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setMode()|setMode()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setSpeed()|setSpeed()]] |
+ | ::**[[MicroRobot.getSpeed()|getSpeed()]] | ||
+ | ::**[[MicroRobot.setPosition()|setPosition()]] | ||
+ | ::**[[MicroRobot.getPosition()|getPosition()]] | ||
+ | ::**[[MicroRobot.reset()|reset()]] | ||
+ | ::**[[MicroRobot.setS_PID()|setS_PID()]] | ||
+ | ::**[[MicroRobot.setP_PID()|setP_PID()]] | ||
+ | ::**[[MicroRobot.getVoltage()|getVoltage()]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.servoWriteRaw()|servoWriteRaw()]] |
− | ::*[[MicroRobot.getMotorVersion()|getMotorVersion()]] | + | ::**[[MicroRobot.servoRead()|servoRead()]] |
+ | ::**[[MicroRobot.servoReadRaw()|servoReadRaw()]] | ||
+ | ::**[[MicroRobot.digitalWrite()|digitalWrite()]] | ||
+ | ::**[[MicroRobot.getMode()|getMode()]] | ||
+ | ::**[[MicroRobot.getSpeedRaw()|getSpeedRaw()]] | ||
+ | ::**[[MicroRobot.getSetSpeed()|getSetSpeed()]] | ||
+ | ::**[[MicroRobot.getSetPosition()|getSetPosition()]] | ||
+ | ::**[[MicroRobot.setResolution()|setResolution()]] | ||
+ | ::**[[MicroRobot.getResolution()|getResolution()]] | ||
+ | ::**[[MicroRobot.setRatio()|setRatio()]] | ||
+ | ::**[[MicroRobot.getRatio()|getRatio()]] | ||
+ | ::**[[MicroRobot.setS_PID_P()|setS_PID_P()]] | ||
+ | ::**[[MicroRobot.getS_PID_P()|getS_PID_P()]] | ||
+ | ::**[[MicroRobot.setS_PID_I()|setS_PID_I()]] | ||
+ | ::**[[MicroRobot.getS_PID_I()|getS_PID_I()]] | ||
+ | ::**[[MicroRobot.setS_PID_D()|setS_PID_D()]] | ||
+ | ::**[[MicroRobot.getS_PID_D()|getS_PID_D()]] | ||
+ | ::**[[MicroRobot.setP_PID_P()|setP_PID_P()]] | ||
+ | ::**[[MicroRobot.getP_PID_P()|getP_PID_P()]] | ||
+ | ::**[[MicroRobot.setP_PID_I()|setP_PID_I()]] | ||
+ | ::**[[MicroRobot.getP_PID_I()|getP_PID_I()]] | ||
+ | ::**[[MicroRobot.setP_PID_D()|setP_PID_D()]] | ||
+ | ::**[[MicroRobot.getP_PID_D()|getP_PID_D()]] | ||
+ | ::**[[MicroRobot.getFault()|getFault()]] | ||
+ | ::**[[MicroRobot.getMotorVersion()|getMotorVersion()]] | ||
|} | |} | ||
|} | |} | ||
第46行: | 第67行: | ||
− | 【[[ | + | 【[[MicroRobot-Core|返回MicroRobot-Core]]】 |
− | |||
− |
2018年5月21日 (一) 07:17的最新版本
|