Fix documentation for diplay
This commit is contained in:
parent
bb4483b141
commit
023ccb416b
2 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,8 @@ CHARS_PER_LINE = 16
|
||||||
|
|
||||||
|
|
||||||
class Display(object):
|
class Display(object):
|
||||||
"""Access the different IR Sensors of the robot
|
"""Access the display on the robot.
|
||||||
|
The display is split into 4 Rows and 16 Columns. Each function call changes one line at a time.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Servo:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def set_position(port: int, angle: float, offset: float = 0.0):
|
def set_position(port: int, angle: float, offset: float = 90.0):
|
||||||
"""Set position of servo connected to port
|
"""Set position of servo connected to port
|
||||||
|
|
||||||
:param port: port between 1 and 8
|
:param port: port between 1 and 8
|
||||||
|
|
Reference in a new issue