Raspberry Pi Pinout

RTK Motor Controller

A quick and easy way to start driving motors on your Raspberry Pi

Code

from gpiozero import RyanteckRobot
from time import sleep

robot = RyanteckRobot()

while True:
    robot.forward()
    sleep(5)
    robot.left()
    sleep(1)
    robot.backward()
    sleep(5)
    robot.right()
    sleep(1)
    robot.stop()
    sleep(1)

GPIO Zero docs

详情

RTK Motor Controller