diff --git a/_sources/lib/Battery.rst.txt b/_sources/lib/Battery.rst.txt
index c9505fb..306730e 100644
--- a/_sources/lib/Battery.rst.txt
+++ b/_sources/lib/Battery.rst.txt
@@ -1,7 +1,23 @@
.. _lib_battery:
Battery
-=======
+########
+
+Class Documentation
+********************
.. autoclass:: compLIB.Battery.Battery
- :members:
\ No newline at end of file
+ :members:
+
+
+Examples
+*********
+
+Printing percentage
+====================
+
+.. code-block:: python
+
+ from compLIB.Battery import Battery
+
+ print(Battery.percent())
\ No newline at end of file
diff --git a/_sources/lib/Buzzer.rst.txt b/_sources/lib/Buzzer.rst.txt
index 8a1894a..e5f7790 100644
--- a/_sources/lib/Buzzer.rst.txt
+++ b/_sources/lib/Buzzer.rst.txt
@@ -1,7 +1,25 @@
.. _lib_buzzer:
Buzzer
-=======
+#######
+
+Class Documentation
+********************
.. autoclass:: compLIB.Buzzer.Buzzer
- :members:
\ No newline at end of file
+ :members:
+
+Examples
+*********
+
+Turning buzzer on and off
+==========================
+
+.. code-block:: python
+
+ import time
+ from compLIB.Buzzer import Buzzer
+
+ Buzzer.set(True)
+ time.sleep(1)
+ Buzzer.set(False)
\ No newline at end of file
diff --git a/_sources/lib/Motor.rst.txt b/_sources/lib/Motor.rst.txt
index 2d26d06..f5b9d09 100644
--- a/_sources/lib/Motor.rst.txt
+++ b/_sources/lib/Motor.rst.txt
@@ -1,7 +1,23 @@
.. _lib_motor:
Motor
-=====
+######
+
+Class Documentation
+********************
.. autoclass:: compLIB.Motor.Motor
- :members:
\ No newline at end of file
+ :members:
+
+Examples
+*********
+
+Driving straight (maybe)
+=========================
+
+.. code-block:: python
+
+ from compLIB.Motor import Motor
+
+ for port in range(0, 4):
+ Motor.power(port, 50)
\ No newline at end of file
diff --git a/index.html b/index.html
index 05ee3eb..d77cbd3 100644
--- a/index.html
+++ b/index.html
@@ -169,10 +169,31 @@
diff --git a/lib/Battery.html b/lib/Battery.html
index 3120d6d..73a7a1f 100644
--- a/lib/Battery.html
+++ b/lib/Battery.html
@@ -83,7 +83,14 @@
- Welcome to CompLib’s documentation!
-- Battery
+- Battery
+
- Buzzer
- Infrared Sensor
- Motor
@@ -155,6 +162,8 @@
Battery
+
+
Class Documentation
-
class
compLIB.Battery.
Battery
@@ -175,6 +184,18 @@
+
+
+
Examples
+
+
Printing percentage
+
from compLIB.Battery import Battery
+
+print(Battery.percent())
+
+
+
+
diff --git a/lib/Buzzer.html b/lib/Buzzer.html
index 25a5da1..bb05f4f 100644
--- a/lib/Buzzer.html
+++ b/lib/Buzzer.html
@@ -84,7 +84,14 @@
@@ -155,6 +162,8 @@
Motor
+
+
Class Documentation
-
class
compLIB.Motor.
Motor
@@ -181,6 +190,19 @@
+
+
+
Examples
+
+
Driving straight (maybe)
+
from compLIB.Motor import Motor
+
+for port in range(0, 4):
+ Motor.power(port, 50)
+
+
+
+
diff --git a/searchindex.js b/searchindex.js
index ed4eed3..3047632 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["index","lib/Battery","lib/Buzzer","lib/IRSensor","lib/Motor","lib/Servo"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","lib/Battery.rst","lib/Buzzer.rst","lib/IRSensor.rst","lib/Motor.rst","lib/Servo.rst"],objects:{"compLIB.Battery":{Battery:[1,0,1,""]},"compLIB.Battery.Battery":{percent:[1,1,1,""]},"compLIB.Buzzer":{Buzzer:[2,0,1,""]},"compLIB.Buzzer.Buzzer":{set:[2,1,1,""]},"compLIB.IRSensor":{IRSensor:[3,0,1,""]},"compLIB.IRSensor.IRSensor":{bottom_left:[3,1,1,""],bottom_middle:[3,1,1,""],bottom_right:[3,1,1,""],top_left_percent:[3,1,1,""],top_right_percent:[3,1,1,""]},"compLIB.Motor":{Motor:[4,0,1,""]},"compLIB.Motor.Motor":{all_off:[4,1,1,""],power:[4,1,1,""]},"compLIB.Servo":{Servo:[5,0,1,""]},"compLIB.Servo.Servo":{set_position:[5,1,1,""],setup_position:[5,1,1,""]}},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"]},objtypes:{"0":"py:class","1":"py:method"},terms:{"100":[1,3,4],"class":[1,2,3,4,5],"int":[1,3,4,5],"return":[1,3],"static":[1,2,3,4,5],"true":[2,3],Used:[1,2],access:3,all:4,all_off:4,angl:5,batteri:0,between:[1,3,4,5],bool:[2,3],bottom:3,bottom_left:3,bottom_middl:3,bottom_right:3,buzzer:0,channel:5,complib:[1,2,3,4,5],connect:[4,5],control:[4,5],detect:3,differ:3,dure:5,fals:2,get:[1,3],index:0,infrar:0,interact:[1,2],irsensor:3,left:[3,4],max:4,middl:3,modul:0,motor:0,off:2,page:0,paramet:[2,4,5],percent:[1,4],percentag:[1,3,4],port:[4,5],posit:5,power:4,process:5,right:[3,4],robot:[3,5],search:0,sensor:0,servo:0,set:[2,4,5],set_posit:5,setup:5,setup_posit:5,signal:3,specifi:4,speed:4,statu:3,top:[3,4],top_left_perc:3,top_right_perc:3,turn:[2,4],type:[1,3],used:[4,5],which:4},titles:["Welcome to CompLib\u2019s documentation!","Battery","Buzzer","Infrared Sensor","Motor","Servo"],titleterms:{batteri:1,buzzer:2,complib:0,content:0,document:0,indic:0,infrar:3,motor:4,sensor:3,servo:5,tabl:0,welcom:0}})
\ No newline at end of file
+Search.setIndex({docnames:["index","lib/Battery","lib/Buzzer","lib/IRSensor","lib/Motor","lib/Servo"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","lib/Battery.rst","lib/Buzzer.rst","lib/IRSensor.rst","lib/Motor.rst","lib/Servo.rst"],objects:{"compLIB.Battery":{Battery:[1,0,1,""]},"compLIB.Battery.Battery":{percent:[1,1,1,""]},"compLIB.Buzzer":{Buzzer:[2,0,1,""]},"compLIB.Buzzer.Buzzer":{set:[2,1,1,""]},"compLIB.IRSensor":{IRSensor:[3,0,1,""]},"compLIB.IRSensor.IRSensor":{bottom_left:[3,1,1,""],bottom_middle:[3,1,1,""],bottom_right:[3,1,1,""],top_left_percent:[3,1,1,""],top_right_percent:[3,1,1,""]},"compLIB.Motor":{Motor:[4,0,1,""]},"compLIB.Motor.Motor":{all_off:[4,1,1,""],power:[4,1,1,""]},"compLIB.Servo":{Servo:[5,0,1,""]},"compLIB.Servo.Servo":{set_position:[5,1,1,""],setup_position:[5,1,1,""]}},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"]},objtypes:{"0":"py:class","1":"py:method"},terms:{"100":[1,3,4],"class":[0,3,5],"import":[1,2,4],"int":[1,3,4,5],"return":[1,3],"static":[1,2,3,4,5],"true":[2,3],Used:[1,2],access:3,all:4,all_off:4,angl:5,batteri:0,between:[1,3,4,5],bool:[2,3],bottom:3,bottom_left:3,bottom_middl:3,bottom_right:3,buzzer:0,channel:5,complib:[1,2,3,4,5],connect:[4,5],control:[4,5],detect:3,differ:3,drive:0,dure:5,exampl:0,fals:2,from:[1,2,4],get:[1,3],index:0,infrar:0,interact:[1,2],irsensor:3,left:[3,4],max:4,mayb:0,middl:3,modul:0,motor:0,off:0,page:0,paramet:[2,4,5],percent:[1,4],percentag:[0,3,4],port:[4,5],posit:5,power:4,print:0,process:5,rang:4,right:[3,4],robot:[3,5],search:0,sensor:0,servo:0,set:[2,4,5],set_posit:5,setup:5,setup_posit:5,signal:3,sleep:2,specifi:4,speed:4,statu:3,straight:0,time:2,top:[3,4],top_left_perc:3,top_right_perc:3,turn:[0,4],type:[1,3],used:[4,5],which:4},titles:["Welcome to CompLib\u2019s documentation!","Battery","Buzzer","Infrared Sensor","Motor","Servo"],titleterms:{"class":[1,2,4],batteri:1,buzzer:2,complib:0,content:0,document:[0,1,2,4],drive:4,exampl:[1,2,4],indic:0,infrar:3,mayb:4,motor:4,off:2,percentag:1,print:1,sensor:3,servo:5,straight:4,tabl:0,turn:2,welcom:0}})
\ No newline at end of file