mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
Fix #168
This commit is contained in:
@@ -554,8 +554,19 @@ class RyanteckRobot(Robot):
|
||||
|
||||
class CamJamKitRobot(Robot):
|
||||
"""
|
||||
CamJam EduKit 3 Robot. Generic robot controller with pre-configured pin
|
||||
numbers.
|
||||
Extends :class:`Robot` for the `CamJam #3 EduKit`_ robot controller.
|
||||
|
||||
The CamJam robot controller pins are fixed and therefore there's no need
|
||||
to specify them when constructing this class. The following example turns
|
||||
the robot left::
|
||||
|
||||
from gpiozero import CamJamKitRobot
|
||||
|
||||
robot = CamJamKitRobot()
|
||||
robot.left()
|
||||
|
||||
.. _CamJam #3 EduKit: http://camjam.me/?page_id=1035
|
||||
"""
|
||||
def __init__(self):
|
||||
super(CamJamKitRobot, self).__init__(left=(9, 10), right=(7, 8))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user