Fix documentation

This commit is contained in:
Konstantin Lampalzer 2021-01-16 02:11:15 +01:00
parent daef7c97e4
commit d3a6fcd42c
No known key found for this signature in database
GPG key ID: 9A60A522835A2AD9
5 changed files with 5 additions and 5 deletions

View file

@ -18,6 +18,6 @@ Printing percentage
.. code-block:: python
from compLIB.Battery import Battery
from compLib.Battery import Battery
print(Battery.percent())

View file

@ -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

@ -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: