mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Add CamJamKitRobot interface
This commit is contained in:
@@ -40,4 +40,5 @@ from .boards import (
|
||||
TrafficHat,
|
||||
Robot,
|
||||
RyanteckRobot,
|
||||
CamJamKitRobot,
|
||||
)
|
||||
|
||||
@@ -409,4 +409,13 @@ class RyanteckRobot(Robot):
|
||||
RTK MCB Robot. Generic robot controller with pre-configured pin numbers.
|
||||
"""
|
||||
def __init__(self):
|
||||
super(RyanteckRobot, self).__init__((17, 18), (22, 23))
|
||||
super(RyanteckRobot, self).__init__(left=(17, 18), right=(22, 23))
|
||||
|
||||
|
||||
class CamJamKitRobot(Robot):
|
||||
"""
|
||||
CamJam EduKit 3 Robot. Generic robot controller with pre-configured pin
|
||||
numbers.
|
||||
"""
|
||||
def __init__(self):
|
||||
super(CamJamKitRobot, self).__init__(left=(9, 10), right=(7, 8))
|
||||
|
||||
Reference in New Issue
Block a user