From 023ccb416b26f99bf1db925ba17eda70a6a4b186 Mon Sep 17 00:00:00 2001 From: Konstantin Lampalzer Date: Fri, 1 Oct 2021 01:13:07 +0200 Subject: [PATCH] Fix documentation for diplay --- compLib/Display.py | 3 ++- compLib/Servo.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compLib/Display.py b/compLib/Display.py index f27c0a9..d85d3b8 100644 --- a/compLib/Display.py +++ b/compLib/Display.py @@ -8,7 +8,8 @@ CHARS_PER_LINE = 16 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 diff --git a/compLib/Servo.py b/compLib/Servo.py index 69cae04..f659b52 100644 --- a/compLib/Servo.py +++ b/compLib/Servo.py @@ -16,7 +16,7 @@ class Servo: """ @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 :param port: port between 1 and 8