Motion Building Block Part 1
這一篇會同大家介紹有關於 Motor 的 Building Block。因為內容頗多,將會分兩 Part 去介紹。

Set Motor 1 to 8
設置 在 pin 1 的馬達 去數值 8的速度。
數值要在 0 - 8 的範圍,0 是靜止,8是最快的速度。
小於0或大於8的值將被截斷為0或8。

Set Motor 1 to 8 forward
設置 在 pin 1 的馬達 去數值 8 的速度及加上方向 (向前或後)。
數值要在 0 - 8 的範圍,0 是靜止,8是最快的速度。
小於0或大於8的值將被截斷為0或8。

Set Motor 1 to forward
設置 在 pin 1 的馬達去向前
這個 Building Block 無法改變速度,只會維持最高速向前或後。

Stop Motor 1
停止 在 pin 1 的馬達。