Update documentation

This commit is contained in:
Konstantin Lampalzer 2021-01-16 01:55:10 +01:00
parent d39ad4b112
commit d555d55b2c
No known key found for this signature in database
GPG key ID: 9A60A522835A2AD9
8 changed files with 151 additions and 13 deletions

View file

@ -1,7 +1,23 @@
.. _lib_motor:
Motor
=====
######
Class Documentation
********************
.. autoclass:: compLIB.Motor.Motor
:members:
:members:
Examples
*********
Driving straight (maybe)
=========================
.. code-block:: python
from compLIB.Motor import Motor
for port in range(0, 4):
Motor.power(port, 50)