Update documentation

This commit is contained in:
Konstantin Lampalzer 2021-01-16 02:12:23 +01:00
parent d555d55b2c
commit f7a7dd37ed
No known key found for this signature in database
GPG key ID: 9A60A522835A2AD9
13 changed files with 60 additions and 60 deletions

View file

@ -6,7 +6,7 @@ Battery
Class Documentation
********************
.. autoclass:: compLIB.Battery.Battery
.. autoclass:: compLib.Battery.Battery
:members:
@ -18,6 +18,6 @@ Printing percentage
.. code-block:: python
from compLIB.Battery import Battery
from compLib.Battery import Battery
print(Battery.percent())

View file

@ -6,7 +6,7 @@ Buzzer
Class Documentation
********************
.. autoclass:: compLIB.Buzzer.Buzzer
.. autoclass:: compLib.Buzzer.Buzzer
:members:
Examples
@ -18,7 +18,7 @@ Turning buzzer on and off
.. code-block:: python
import time
from compLIB.Buzzer import Buzzer
from compLib.Buzzer import Buzzer
Buzzer.set(True)
time.sleep(1)

View file

@ -3,5 +3,5 @@
Infrared Sensor
================
.. autoclass:: compLIB.IRSensor.IRSensor
.. autoclass:: compLib.IRSensor.IRSensor
:members:

View file

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

View file

@ -3,5 +3,5 @@
Servo
=====
.. autoclass:: compLIB.Servo.Servo
.. autoclass:: compLib.Servo.Servo
:members: