Update documentation
This commit is contained in:
parent
d39ad4b112
commit
d555d55b2c
8 changed files with 151 additions and 13 deletions
|
@ -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)
|
Reference in a new issue