Add CamJamKitRobot interface

This commit is contained in:
Ben Nuttall
2015-11-22 18:35:11 +00:00
parent 4cf634a9c3
commit cfe200af35
2 changed files with 11 additions and 1 deletions

View File

@@ -40,4 +40,5 @@ from .boards import (
TrafficHat,
Robot,
RyanteckRobot,
CamJamKitRobot,
)

View File

@@ -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))