“MicroRobot 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核心控制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> | ||
*[[显示PM2.5浓度]]:通过串口输出PM2.5浓度。 | *[[显示PM2.5浓度]]:通过串口输出PM2.5浓度。 | ||
|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/结构体''' |
− | ::* | + | ::**[[MicroRobot()]] |
− | + | ::*'''Functions/函数''' | |
− | + | ::**[[MicroRobot.begin()|begin()]] | |
− | ::* | ||
− | ::* | ||
− | |||
− | |||
− | ::* | + | ::**[[MicroRobot.servoWrite()|servoWrite()]] |
− | + | ::**[[MicroRobot.servoWriteRaw()|servoWriteRaw()]] | |
− | ::* | + | ::**[[MicroRobot.servoRead()|servoRead()]] |
− | + | ::**[[MicroRobot.servoReadRaw()|servoReadRaw()]] | |
− | ::* | + | ::**[[MicroRobot.digitalWrite()|digitalWrite()]] |
− | |||
− | |||
− | ::* | ||
− | |||
− | ::* | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.motorInit()|motorInit()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setMode()|setMode()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getMode()|getMode()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setSpeed()|setSpeed()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getSpeed()|getSpeed()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getSpeedRaw()|getSpeedRaw()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getSetSpeed()|getSetSpeed()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setPosition()|setPosition()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getPosition()|getPosition()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getSetPosition()|getSetPosition()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setResolution()|setResolution()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getResolution()|getResolution()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setRatio()|setRatio()]] |
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.getRatio()|getRatio()]] |
+ | ::**[[MicroRobot.reset()|reset()]] | ||
− | ::*[[MicroRobot. | + | ::**[[MicroRobot.setS_PID()|setS_PID()]] |
+ | ::**[[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()|setP_PID()]] | ||
+ | ::**[[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.getVoltage()|getVoltage()]] | + | ::**[[MicroRobot.getFault()|getFault()]] |
− | ::*[[MicroRobot.getMotorVersion()|getMotorVersion()]] | + | ::**[[MicroRobot.getVoltage()|getVoltage()]] |
+ | ::**[[MicroRobot.getMotorVersion()|getMotorVersion()]] | ||
|} | |} | ||
|} | |} |
2018年5月16日 (三) 03:15的版本
|