Update title and add link to docs
This commit is contained in:
parent
692c174572
commit
358c71c6ea
@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
name: Motor Controller Board
|
name: RTK Motor Controller Board
|
||||||
class: board
|
class: board
|
||||||
type: motor
|
type: motor
|
||||||
formfactor: Custom
|
formfactor: Custom
|
||||||
@ -38,9 +38,11 @@ pin:
|
|||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
-->
|
-->
|
||||||
#Motor Controller Board
|
# RTK Motor Controller Board
|
||||||
|
|
||||||
###A quick and easy way to start driving motors on your Raspberry Pi
|
A quick and easy way to start driving motors on your Raspberry Pi
|
||||||
|
|
||||||
|
## Code
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from gpiozero import RyanteckRobot
|
from gpiozero import RyanteckRobot
|
||||||
@ -60,3 +62,5 @@ while True:
|
|||||||
robot.stop()
|
robot.stop()
|
||||||
sleep(1)
|
sleep(1)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See [GPIO Zero docs page](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot)
|
||||||
|
Loading…
Reference in New Issue
Block a user