“MicroRobot Reference”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
第5行: 第5行:
 
|-
 
|-
 
|width="65%" valign="top" align="left"|
 
|width="65%" valign="top" align="left"|
<p style="color: #E87E05;font-size:135%">描述</p>
+
<p style="color: #E87E05;font-size:155%">描述</p>
 
该库用于Microduino核心控制MicroRobot板,驱动电机、舵机,并从中读取数据。
 
该库用于Microduino核心控制MicroRobot板,驱动电机、舵机,并从中读取数据。
 
<br>
 
<br>
<p style="color: #E87E05;font-size:135%">引脚</p>
+
<br>
 +
<p style="color: #E87E05;font-size:155%">引脚</p>
 
可IIC接口控制MicroRobot。
 
可IIC接口控制MicroRobot。
 
<br>
 
<br>
<p style="color: #E87E05;font-size:135%">示例</p>
+
<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"|
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
 
::<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.servoWriteRaw()|servoWriteRaw()]]
 
::*[[MicroRobot.servoRead()|servoRead()]]
 
::*[[MicroRobot.servoReadRaw()|servoReadRaw()]]
 
::*[[MicroRobot.digitalWrite()|digitalWrite()]]
 
  
::*[[MicroRobot.motorInit()|motorInit()]]
+
::**[[MicroRobot.servoWrite()|servoWrite()]]
::*[[MicroRobot.setMode()|setMode()]]
+
::**[[MicroRobot.servoWriteRaw()|servoWriteRaw()]]
::*[[MicroRobot.getMode()|getMode()]]
+
::**[[MicroRobot.servoRead()|servoRead()]]
::*[[MicroRobot.setSpeed()|setSpeed()]]
+
::**[[MicroRobot.servoReadRaw()|servoReadRaw()]]
::*[[MicroRobot.getSpeed()|getSpeed()]]
+
::**[[MicroRobot.digitalWrite()|digitalWrite()]]
::*[[MicroRobot.getSpeedRaw()|getSpeedRaw()]]
 
::*[[MicroRobot.getSetSpeed()|getSetSpeed()]]
 
::*[[MicroRobot.setPosition()|setPosition()]]
 
::*[[MicroRobot.getPosition()|getPosition()]]
 
::*[[MicroRobot.getSetPosition()|getSetPosition()]]
 
::*[[MicroRobot.setResolution()|setResolution()]]
 
::*[[MicroRobot.getResolution()|getResolution()]]
 
::*[[MicroRobot.setRatio()|setRatio()]]
 
::*[[MicroRobot.getRatio()|getRatio()]]
 
::*[[MicroRobot.reset()|reset()]]
 
  
::*[[MicroRobot.setS_PID()|setS_PID()]]
+
::**[[MicroRobot.motorInit()|motorInit()]]
::*[[MicroRobot.setS_PID_P()|setS_PID_P()]]
+
::**[[MicroRobot.setMode()|setMode()]]
::*[[MicroRobot.getS_PID_P()|getS_PID_P()]]
+
::**[[MicroRobot.getMode()|getMode()]]
::*[[MicroRobot.setS_PID_I()|setS_PID_I()]]
+
::**[[MicroRobot.setSpeed()|setSpeed()]]
::*[[MicroRobot.getS_PID_I()|getS_PID_I()]]
+
::**[[MicroRobot.getSpeed()|getSpeed()]]
::*[[MicroRobot.setS_PID_D()|setS_PID_D()]]
+
::**[[MicroRobot.getSpeedRaw()|getSpeedRaw()]]
::*[[MicroRobot.getS_PID_D()|getS_PID_D()]]
+
::**[[MicroRobot.getSetSpeed()|getSetSpeed()]]
::*[[MicroRobot.setP_PID()|setP_PID()]]
+
::**[[MicroRobot.setPosition()|setPosition()]]
::*[[MicroRobot.setP_PID_P()|setP_PID_P()]]
+
::**[[MicroRobot.getPosition()|getPosition()]]
::*[[MicroRobot.getP_PID_P()|getP_PID_P()]]
+
::**[[MicroRobot.getSetPosition()|getSetPosition()]]
::*[[MicroRobot.setP_PID_I()|setP_PID_I()]]
+
::**[[MicroRobot.setResolution()|setResolution()]]
::*[[MicroRobot.getP_PID_I()|getP_PID_I()]]
+
::**[[MicroRobot.getResolution()|getResolution()]]
::*[[MicroRobot.setP_PID_D()|setP_PID_D()]]
+
::**[[MicroRobot.setRatio()|setRatio()]]
::*[[MicroRobot.getP_PID_D()|getP_PID_D()]]
+
::**[[MicroRobot.getRatio()|getRatio()]]
 +
::**[[MicroRobot.reset()|reset()]]
  
::*[[MicroRobot.getFault()|getFault()]]
+
::**[[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的版本