Update documentation

This commit is contained in:
Konstantin Lampalzer 2021-09-13 19:14:30 +02:00
parent 4c1cfa6735
commit fbf455c5b7
19 changed files with 230 additions and 42 deletions

View file

@ -1,14 +1,12 @@
Robo4you Competition Library
.. image:: images/compair-logo-white.svg
Competition Robot Library
#############################
.. toctree::
:maxdepth: 2
:caption: Contents:
CompLib is the library used in the robo4you competition 2021.
Contents
*********

View file

@ -9,12 +9,13 @@ Usage
from compLib.Motor import *
def forward():
for port in range(0, 4):
Motor.power(port, 30);
Motor.power(1, -30);
Motor.power(2, 30);
def backward():
for port in range(0, 4):
Motor.power(port, -30);
Motor.power(1, 30);
Motor.power(2, -30);
def main():
print("hallo ich bin ein roboter beep buup")