diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle
index 70a72e376b9fb8a68bcf6f0c6ec1ec00e02a6cc1..7794690289e5caa38b090c24f5e2fb653591fcbe 100644
Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ
diff --git a/docs/_build/doctrees/source.doctree b/docs/_build/doctrees/source.doctree
index ff349dfe734ba3a81392310fd7f4444f7ec5aba3..907be8bf9fe3294647328ac7ff4db17df046323a 100644
Binary files a/docs/_build/doctrees/source.doctree and b/docs/_build/doctrees/source.doctree differ
diff --git a/docs/_build/html/.buildinfo b/docs/_build/html/.buildinfo
index 9d36cd0526daf09e7e3edf595ae7ef3b5e34306b..2f914f46cb0793f7cc02b51eb2ff4d61c3be649c 100644
--- a/docs/_build/html/.buildinfo
+++ b/docs/_build/html/.buildinfo
@@ -1,4 +1,4 @@
 # Sphinx build info version 1
 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 19aa848f4e235fc5c5fdc8e80c16af87
+config: 5962c7d7ff4477f5fe69f4114d507ce9
 tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/docs/_build/html/_sources/source.txt b/docs/_build/html/_sources/source.txt
index 7b7ae8fa5a34c30fc9cbec043277323f0b381cb0..589e1dd71f965275426b905e185bec519a40f781 100644
--- a/docs/_build/html/_sources/source.txt
+++ b/docs/_build/html/_sources/source.txt
@@ -1,3 +1,4 @@
+.. automodule:: source
 
 .. |br| raw:: html
    
diff --git a/docs/_build/html/genindex.html b/docs/_build/html/genindex.html
index cace62e087a2a5460de3c4f9e915b062ef6f8d31..d5a11928440a916168201c860a5a18277bbb810b 100644
--- a/docs/_build/html/genindex.html
+++ b/docs/_build/html/genindex.html
@@ -6,7 +6,7 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Index &#8212; Mindstorms EV3 Toolbox v0.3-rc.8 documentation</title>
+    <title>Index &#8212; Mindstorms EV3 Toolbox v0.4-rc.10 documentation</title>
     
     <link rel="stylesheet" href="_static/basic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    './',
-        VERSION:     'v0.3-rc.8',
+        VERSION:     'v0.4-rc.10',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
@@ -32,7 +32,7 @@
     <script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
     <link rel="index" title="Index" href="#" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="Mindstorms EV3 Toolbox v0.3-rc.8 documentation" href="index.html" />
+    <link rel="top" title="Mindstorms EV3 Toolbox v0.4-rc.10 documentation" href="index.html" />
 <meta charset='utf-8'>
 <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
 <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
@@ -52,7 +52,7 @@
         </button>
         <a class="navbar-brand" href="index.html">
           Mindstorms EV3 Toolbox</a>
-        <span class="navbar-text navbar-version pull-left"><b>v0.3</b></span>
+        <span class="navbar-text navbar-version pull-left"><b>v0.4</b></span>
       </div>
 
         <div class="collapse navbar-collapse nav-collapse">
@@ -121,8 +121,329 @@
 <h1 id="index">Index</h1>
 
 <div class="genindex-jumpbox">
+ <a href="#B"><strong>B</strong></a>
+ | <a href="#C"><strong>C</strong></a>
+ | <a href="#D"><strong>D</strong></a>
+ | <a href="#E"><strong>E</strong></a>
+ | <a href="#I"><strong>I</strong></a>
+ | <a href="#L"><strong>L</strong></a>
+ | <a href="#M"><strong>M</strong></a>
+ | <a href="#P"><strong>P</strong></a>
+ | <a href="#R"><strong>R</strong></a>
+ | <a href="#S"><strong>S</strong></a>
+ | <a href="#T"><strong>T</strong></a>
+ | <a href="#V"><strong>V</strong></a>
+ | <a href="#W"><strong>W</strong></a>
  
 </div>
+<h2 id="B">B</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.batteryMode">batteryMode (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.batteryValue">batteryValue (source.EV3 attribute)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.beep">beep() (source.EV3 method)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.brakeMode">brakeMode (source.Motor attribute)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="C">C</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.connect">connect() (source.EV3 method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.currentSpeed">currentSpeed (source.Motor attribute)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="D">D</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.debug">debug (source.EV3 attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="source.html#source.Motor.debug">(source.Motor attribute)</a>
+  </dt>
+
+        
+  <dt><a href="source.html#source.Sensor.debug">(source.Sensor attribute)</a>
+  </dt>
+
+      </dl></dd>
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.disconnect">disconnect() (source.EV3 method)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="E">E</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3">EV3 (class in source)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="I">I</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.internalReset">internalReset() (source.Motor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.isConnected">isConnected (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.isRunning">isRunning (source.Motor attribute)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="L">L</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.limitMode">limitMode (source.Motor attribute)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.limitValue">limitValue (source.Motor attribute)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="M">M</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Sensor.mode">mode (source.Sensor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor">Motor (class in source)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.motorA">motorA (source.EV3 attribute)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.motorB">motorB (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.motorC">motorC (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.motorD">motorD (source.EV3 attribute)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="P">P</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.EV3.playTone">playTone() (source.EV3 method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.power">power (source.Motor attribute)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="R">R</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Sensor.reset">reset() (source.Sensor method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.resetTachoCount">resetTachoCount() (source.Motor method)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="S">S</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Sensor">Sensor (class in source)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.sensor1">sensor1 (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.sensor2">sensor2 (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.sensor3">sensor3 (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.sensor4">sensor4 (source.EV3 attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.setBrake">setBrake() (source.Motor method)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.setProperties">setProperties() (source.EV3 method)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="source.html#source.Motor.setProperties">(source.Motor method)</a>
+  </dt>
+
+        
+  <dt><a href="source.html#source.Sensor.setProperties">(source.Sensor method)</a>
+  </dt>
+
+      </dl></dd>
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.smoothStart">smoothStart (source.Motor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.smoothStop">smoothStop (source.Motor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#module-source">source (module)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.speedRegulation">speedRegulation (source.Motor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.start">start() (source.Motor method)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.stop">stop() (source.Motor method)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.stopAllMotors">stopAllMotors() (source.EV3 method)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.stopTone">stopTone() (source.EV3 method)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.syncedStart">syncedStart() (source.Motor method)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.Motor.syncedStop">syncedStop() (source.Motor method)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="T">T</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.tachoCount">tachoCount (source.Motor attribute)</a>
+  </dt>
+
+      
+  <dt><a href="source.html#source.EV3.tonePlayed">tonePlayed() (source.EV3 method)</a>
+  </dt>
+
+  </dl></td>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.type">type (source.Motor attribute)</a>
+  </dt>
+
+      <dd><dl>
+        
+  <dt><a href="source.html#source.Sensor.type">(source.Sensor attribute)</a>
+  </dt>
+
+      </dl></dd>
+  </dl></td>
+</tr></table>
+
+<h2 id="V">V</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Sensor.value">value (source.Sensor attribute)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
+<h2 id="W">W</h2>
+<table style="width: 100%" class="indextable genindextable"><tr>
+  <td style="width: 33%" valign="top"><dl>
+      
+  <dt><a href="source.html#source.Motor.waitFor">waitFor() (source.Motor method)</a>
+  </dt>
+
+  </dl></td>
+</tr></table>
+
 
 
     </div>
diff --git a/docs/_build/html/index.html b/docs/_build/html/index.html
index b138cbe3afe559e42ce23503d46632286214e129..045ce15577b0f1b06ee2be41b928bd3bf1a3da35 100644
--- a/docs/_build/html/index.html
+++ b/docs/_build/html/index.html
@@ -5,7 +5,7 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Toolbox for controlling Lego Mindstorms EV3 with MATLAB &#8212; Mindstorms EV3 Toolbox v0.3-rc.8 documentation</title>
+    <title>Toolbox for controlling Lego Mindstorms EV3 with MATLAB &#8212; Mindstorms EV3 Toolbox v0.4-rc.10 documentation</title>
     
     <link rel="stylesheet" href="_static/basic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -16,7 +16,7 @@
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    './',
-        VERSION:     'v0.3-rc.8',
+        VERSION:     'v0.4-rc.10',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
@@ -31,7 +31,7 @@
     <script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="Mindstorms EV3 Toolbox v0.3-rc.8 documentation" href="#" />
+    <link rel="top" title="Mindstorms EV3 Toolbox v0.4-rc.10 documentation" href="#" />
     <link rel="next" title="EV3" href="source.html" />
 <meta charset='utf-8'>
 <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
@@ -52,7 +52,7 @@
         </button>
         <a class="navbar-brand" href="#">
           Mindstorms EV3 Toolbox</a>
-        <span class="navbar-text navbar-version pull-left"><b>v0.3</b></span>
+        <span class="navbar-text navbar-version pull-left"><b>v0.4</b></span>
       </div>
 
         <div class="collapse navbar-collapse nav-collapse">
diff --git a/docs/_build/html/mat-modindex.html b/docs/_build/html/mat-modindex.html
index 60f8734737f102722b945393c8287623673d3eea..1860710e5b7ebde5ad31d8827420608dc24cddd9 100644
--- a/docs/_build/html/mat-modindex.html
+++ b/docs/_build/html/mat-modindex.html
@@ -5,7 +5,7 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>MATLAB Module Index &#8212; Mindstorms EV3 Toolbox v0.3-rc.8 documentation</title>
+    <title>MATLAB Module Index &#8212; Mindstorms EV3 Toolbox v0.4-rc.10 documentation</title>
     
     <link rel="stylesheet" href="_static/basic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -16,7 +16,7 @@
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    './',
-        VERSION:     'v0.3-rc.8',
+        VERSION:     'v0.4-rc.10',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
@@ -31,7 +31,7 @@
     <script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="Mindstorms EV3 Toolbox v0.3-rc.8 documentation" href="index.html" />
+    <link rel="top" title="Mindstorms EV3 Toolbox v0.4-rc.10 documentation" href="index.html" />
 
 <meta charset='utf-8'>
 <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
@@ -58,7 +58,7 @@
         </button>
         <a class="navbar-brand" href="index.html">
           Mindstorms EV3 Toolbox</a>
-        <span class="navbar-text navbar-version pull-left"><b>v0.3</b></span>
+        <span class="navbar-text navbar-version pull-left"><b>v0.4</b></span>
       </div>
 
         <div class="collapse navbar-collapse nav-collapse">
@@ -153,7 +153,7 @@
       
     </p>
     <p>
-        &copy; Copyright 2016, LfB RWTH-Aachen.<br/>
+        &copy; Copyright 2016, LfB - RWTH Aachen.<br/>
       Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.8.<br/>
     </p>
   </div>
diff --git a/docs/_build/html/objects.inv b/docs/_build/html/objects.inv
index da6b03fcc6d288e41b8d8d5ca287bd4ca6b2c617..f9b32ebf05a4d518ca862cb167db59b06156c49c 100644
Binary files a/docs/_build/html/objects.inv and b/docs/_build/html/objects.inv differ
diff --git a/docs/_build/html/search.html b/docs/_build/html/search.html
index 1c4f7041ce210a6f5b73534c4d462c06c758de62..57497e3195728c761403578d1ce321e2bd22abee 100644
--- a/docs/_build/html/search.html
+++ b/docs/_build/html/search.html
@@ -5,7 +5,7 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Search &#8212; Mindstorms EV3 Toolbox v0.3-rc.8 documentation</title>
+    <title>Search &#8212; Mindstorms EV3 Toolbox v0.4-rc.10 documentation</title>
     
     <link rel="stylesheet" href="_static/basic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -16,7 +16,7 @@
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    './',
-        VERSION:     'v0.3-rc.8',
+        VERSION:     'v0.4-rc.10',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
@@ -32,7 +32,7 @@
     <script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="#" />
-    <link rel="top" title="Mindstorms EV3 Toolbox v0.3-rc.8 documentation" href="index.html" />
+    <link rel="top" title="Mindstorms EV3 Toolbox v0.4-rc.10 documentation" href="index.html" />
   <script type="text/javascript">
     jQuery(function() { Search.loadIndex("searchindex.js"); });
   </script>
@@ -59,7 +59,7 @@
         </button>
         <a class="navbar-brand" href="index.html">
           Mindstorms EV3 Toolbox</a>
-        <span class="navbar-text navbar-version pull-left"><b>v0.3</b></span>
+        <span class="navbar-text navbar-version pull-left"><b>v0.4</b></span>
       </div>
 
         <div class="collapse navbar-collapse nav-collapse">
diff --git a/docs/_build/html/searchindex.js b/docs/_build/html/searchindex.js
index 61d563630172e1f55d2ce7a8e704bc7b357668fc..25c11b86f510e7aae182dd3588a9221f9628a14c 100644
--- a/docs/_build/html/searchindex.js
+++ b/docs/_build/html/searchindex.js
@@ -1 +1 @@
-Search.setIndex({envversion:49,filenames:["index","source"],objects:{},objnames:{},objtypes:{},terms:{"5000hz":[],"case":[],"catch":[],"class":[],"default":[],"function":[],"long":[],"return":[],"true":[],"try":[],"while":[],about:[],acceler:[],accelerationallax:[],accident:[],act:[],action:[],actual:[],affect:[],afraid:[],after:[],again:[],all:[],allow:[],alreadi:[],also:[],alternatingli:[],ambient:[],angular:[],ani:[],anoth:[],apply:[],aren:[],around:[],ask:[],automat:[],avail:[],avoid:[],batteri:[],batterymod:[],batterymode:[],batteryvalu:[],been:[],beep:[],befor:[],behav:[],behaviour:[],better:[],bit:[],blue:[],bluetooth:[],bool:[],both:[],brake:[],brakemod:[],brick:[],bug:[],buggi:[],bump:[],c_output:[],call:[],can:[],cannot:[],central:[],chang:[],charg:[],check:[],clear:[],coast:[],code:[],col:[],color:[],com:[],comm:[],command:[],comment:[],commun:[],confus:[],connect:[],connectiontyp:[],consist:[],consol:[],constantli:[],content:0,continu:[],conveni:[],correctli:[],count:[],counter:[],cours:[],creat:[],current:[],currentspe:[],dba:[],debug:[],defin:[],degre:[],delet:[],deliber:[],deliv:[],depend:[],descript:[],desir:[],destroi:[],dev:[],devic:[],devicemod:[],devicetyp:[],differ:[],direct:[],disconnect:[],distcm:[],distin:[],doe:[],doesn:[],don:[],done:[],down:[],durat:[],each:[],eas:[],effect:[],either:[],enabl:[],equal:[],error:[],establish:[],even:[],everytim:[],exampl:[],excerpt:[],execut:[],exit:[],expect:[],facilit:[],fals:[],far:[],feedback:[],finish:[],firmwar:[],first:[],follow:[],forward:[],four:[],frequenc:[],from:[],fun:[],get:[],given:[],glanc:[],goe:[],greater:[],green:[],gyro:[],happen:[],have:[],heavi:[],hertz:[],high:[],highest:[],hold:[],how:[],howev:[],htacceleromet:[],htcolor:[],htcompass:[],hysic:[],immedi:[],index:0,indic:[],individu:[],infinit:[],infrare:[],input:[],inputpars:[],instanc:[],instead:[],interfac:[],intern:[],internalreset:[],interpret:[],isconnect:[],isrun:[],iter:[],itself:[],keep:[],kind:[],know:[],largemotor:[],last:[],later:[],layer:[],lead:[],left:[],less:[],level:[],like:[],limit:[],limitmod:[],limitvalu:[],listen:[],load:[],loop:[],low:[],lower:[],mai:[],mainli:[],make:[],manual:[],master:[],mean:[],mediummotor:[],messag:[],method:[],millisecond:[],mind:[],mode:[],modul:0,mostli:[],motor:[],motora:[],motorb:[],motorc:[],motord:[],move:[],multipl:[],name:[],necessari:[],need:[],neg:[],newpag:[],none:[],note:[],now:[],numer:[],nxtcolor:[],nxtlight:[],nxtsound:[],nxttemperatur:[],nxttouch:[],nxtultrason:[],object:[],off:[],old:[],onc:[],once:[],onli:[],only:[],opcod:[],opposit:[],optional:[],other:[],otherwis:[],output:[],outputreadi:[],outputtest:[],packet:[],page:0,paramet:[],pass:[],path:[],paus:[],percent:[],percentag:[],physic:[],plai:[],playton:[],point:[],poll:[],port:[],posit:[],possibl:[],power:[],pretti:[],previous:[],print:[],probabl:[],program:[],properti:[],prox:[],pull:[],push:[],rais:[],rate:[],ratio:[],raw:[],reach:[],read:[],realli:[],reason:[],receiv:[],red:[],reflect:[],regul:[],releas:[],remot:[],repli:[],repres:[],request:[],reset:[],resetposit:[],resettachocount:[],respect:[],respons:[],result:[],rfcomm0:[],rfcomm1:[],rfcomm2:[],right:[],run:[],same:[],search:0,second:[],secur:[],see:[],seek:[],seem:[],send:[],sensor1:[],sensor2:[],sensor3:[],sensor4:[],sensor:[],sent:[],serial:[],serport:[],set:[],setbrak:[],setpow:[],setproperti:[],setup:[],should:[],slave:[],slow:[],slowli:[],smoothli:[],smoothstart:[],smoothstop:[],some:[],sometim:[],somewhat:[],soon:[],sooner:[],sourc:[],special:[],specifi:[],speed:[],speedregul:[],spin:[],start:[],state:[],statu:[],stop:[],stopallmotor:[],stopton:[],straight:[],string:[],stuff:[],sublay:[],suppos:[],sync:[],syncedstart:[],syncedstop:[],synchron:[],syncmotor:[],tacho:[],tachocount:[],tacholimit:[],take:[],test:[],than:[],them:[],thi:[],thoroughli:[],tight:[],time:[],timeout:[],tone:[],toneplai:[],too:[],touch:[],tricki:[],turn:[],turn_ratio:[],turnratio:[],type:[],ultrason:[],undefin:[],unexpect:[],unknown:[],until:[],usb:[],use:[],user:[],valu:[],varargin:[],via:[],view:[],virtual:[],voltag:[],volum:[],waitfor:[],want:[],wast:[],weird:[],what:[],whatev:[],when:[],which:[],white:[],without:[],work:[],workaround:[],would:[],wrap:[],writable:[],wrong:[],yet:[],you:[],zero:[]},titles:["Toolbox for controlling Lego Mindstorms EV3 with MATLAB","EV3"],titleterms:{control:0,ev3:[0,1],indice:0,lego:0,matlab:0,mindstorm:0,motor:1,sensor:1,tabl:0,toolbox:0}})
\ No newline at end of file
+Search.setIndex({envversion:49,filenames:["index","source"],objects:{"":{source:[1,0,1,""]},"source.EV3":{batteryMode:[1,2,1,""],batteryValue:[1,2,1,""],beep:[1,3,1,""],connect:[1,3,1,""],debug:[1,2,1,""],disconnect:[1,3,1,""],isConnected:[1,2,1,""],motorA:[1,2,1,""],motorB:[1,2,1,""],motorC:[1,2,1,""],motorD:[1,2,1,""],playTone:[1,3,1,""],sensor1:[1,2,1,""],sensor2:[1,2,1,""],sensor3:[1,2,1,""],sensor4:[1,2,1,""],setProperties:[1,3,1,""],stopAllMotors:[1,3,1,""],stopTone:[1,3,1,""],tonePlayed:[1,3,1,""]},"source.Motor":{brakeMode:[1,2,1,""],currentSpeed:[1,2,1,""],debug:[1,2,1,""],internalReset:[1,3,1,""],isRunning:[1,2,1,""],limitMode:[1,2,1,""],limitValue:[1,2,1,""],power:[1,2,1,""],resetTachoCount:[1,3,1,""],setBrake:[1,3,1,""],setProperties:[1,3,1,""],smoothStart:[1,2,1,""],smoothStop:[1,2,1,""],speedRegulation:[1,2,1,""],start:[1,3,1,""],stop:[1,3,1,""],syncedStart:[1,3,1,""],syncedStop:[1,3,1,""],tachoCount:[1,2,1,""],type:[1,2,1,""],waitFor:[1,3,1,""]},"source.Sensor":{debug:[1,2,1,""],mode:[1,2,1,""],reset:[1,3,1,""],setProperties:[1,3,1,""],type:[1,2,1,""],value:[1,2,1,""]},source:{EV3:[1,1,1,""],Motor:[1,1,1,""],Sensor:[1,1,1,""]}},objnames:{"0":["mat","module","MATLAB module"],"1":["mat","class","MATLAB class"],"2":["mat","attribute","MATLAB attribute"],"3":["mat","method","MATLAB method"]},objtypes:{"0":"mat:module","1":"mat:class","2":"mat:attribute","3":"mat:method"},terms:{"5000hz":1,"case":1,"catch":1,"class":1,"default":1,"function":1,"long":1,"return":1,"true":1,"try":1,"while":1,about:1,acceler:1,accelerationallax:1,accident:1,act:1,action:1,actual:1,affect:1,afraid:1,after:1,again:1,all:1,allow:1,alreadi:1,also:1,alternatingli:1,ambient:1,angular:1,ani:1,anoth:1,apply:1,aren:1,around:1,ask:1,automat:1,avail:1,avoid:1,batteri:1,batterymod:1,batterymode:1,batteryvalu:1,been:1,beep:1,befor:1,behav:1,behaviour:1,better:1,bit:1,blue:1,bluetooth:1,bool:1,both:1,brake:1,brakemod:1,brick:1,bug:1,buggi:1,bump:1,c_output:1,call:1,can:1,cannot:1,central:1,chang:1,charg:1,check:1,clear:1,coast:1,code:1,col:1,color:1,com:1,comm:1,command:1,comment:1,commun:1,confus:1,connect:1,connectiontyp:1,consist:1,consol:1,constantli:1,content:0,continu:1,conveni:1,correctli:1,count:1,counter:1,cours:1,creat:1,current:1,currentspe:1,dba:1,debug:1,defin:1,degre:1,delet:1,deliber:1,deliv:1,depend:1,descript:[],desir:1,destroi:1,dev:1,devic:1,devicemod:1,devicetyp:1,differ:1,direct:1,disconnect:1,distcm:1,distin:1,doe:1,doesn:1,don:1,done:1,down:1,durat:1,each:1,eas:1,effect:1,either:1,enabl:1,equal:1,error:1,establish:1,even:1,everytim:1,exampl:1,excerpt:1,execut:1,exit:1,expect:1,facilit:1,fals:1,far:1,feedback:1,finish:1,firmwar:1,first:1,follow:1,forward:1,four:1,frequenc:1,from:1,fun:1,get:1,given:1,glanc:1,goe:1,greater:1,green:1,gyro:1,happen:1,have:1,heavi:1,hertz:1,high:1,highest:1,hold:1,how:1,howev:1,htacceleromet:1,htcolor:1,htcompass:1,hysic:1,immedi:1,index:0,indic:1,individu:1,infinit:1,infrare:1,input:1,inputpars:1,instanc:1,instead:1,interfac:1,intern:1,internalreset:1,interpret:1,isconnect:1,isrun:1,iter:1,itself:1,keep:1,kind:1,know:1,largemotor:1,last:1,later:1,layer:1,lead:1,left:1,less:1,level:1,like:1,limit:1,limitmod:1,limitvalu:1,listen:1,load:1,loop:1,low:1,lower:1,mai:1,mainli:1,make:1,manual:1,master:1,mean:1,mediummotor:1,messag:1,method:1,millisecond:1,mind:1,mode:1,modul:0,mostli:1,motor:[],motora:1,motorb:1,motorc:1,motord:1,move:1,multipl:1,name:1,necessari:1,need:1,neg:1,newpag:[],none:1,note:1,now:1,numer:1,nxtcolor:1,nxtlight:1,nxtsound:1,nxttemperatur:1,nxttouch:1,nxtultrason:1,object:1,off:1,old:1,onc:1,once:1,onli:1,only:1,opcod:1,opposit:1,optional:1,other:1,otherwis:1,output:1,outputreadi:1,outputtest:1,packet:1,page:0,paramet:1,pass:1,path:1,paus:1,percent:1,percentag:1,physic:1,plai:1,playton:1,point:1,poll:1,port:1,posit:1,possibl:1,power:1,pretti:1,previous:1,print:1,probabl:1,program:1,properti:1,prox:1,pull:1,push:1,rais:1,rate:1,ratio:1,raw:1,reach:1,read:1,realli:1,reason:1,receiv:1,red:1,reflect:1,regul:1,releas:1,remot:1,repli:1,repres:1,request:1,reset:1,resetposit:1,resettachocount:1,respect:1,respons:1,result:1,rfcomm0:1,rfcomm1:1,rfcomm2:1,right:1,run:1,same:1,search:0,second:1,secur:1,see:1,seek:1,seem:1,send:1,sensor1:1,sensor2:1,sensor3:1,sensor4:1,sensor:[],sent:1,serial:1,serport:1,set:1,setbrak:1,setpow:1,setproperti:1,setup:1,should:1,slave:1,slow:1,slowli:1,smoothli:1,smoothstart:1,smoothstop:1,some:1,sometim:1,somewhat:1,soon:1,sooner:1,sourc:1,special:1,specifi:1,speed:1,speedregul:1,spin:1,start:1,state:1,statu:1,still:1,stop:1,stopallmotor:1,stopton:1,straight:1,string:1,stuff:1,sublay:1,suppos:1,sync:1,syncedstart:1,syncedstop:1,synchron:1,syncmotor:1,tacho:1,tachocount:1,tacholimit:1,take:1,test:1,than:1,them:1,thi:1,thoroughli:1,tight:1,time:1,timeout:1,tone:1,toneplai:1,too:1,touch:1,tricki:1,turn:1,turn_ratio:[],turnratio:1,type:1,ultrason:1,undefin:1,unexpect:1,unknown:1,until:1,usb:1,use:1,user:1,valu:1,varargin:1,via:1,view:1,virtual:1,voltag:1,volum:1,waitfor:1,want:1,wast:1,weird:1,what:1,whatev:1,when:1,which:1,white:1,without:1,work:1,workaround:1,would:1,wrap:1,writable:1,wrong:1,yet:1,you:1,zero:1},titles:["Toolbox for controlling Lego Mindstorms EV3 with MATLAB","EV3"],titleterms:{control:0,ev3:[0,1],indice:0,lego:0,matlab:0,mindstorm:0,motor:1,sensor:1,tabl:0,toolbox:0}})
\ No newline at end of file
diff --git a/docs/_build/html/source.html b/docs/_build/html/source.html
index a0b56117d4c7045b1664e9094431f465dee2964f..d43afef569295adabaf396a099f598e0b33e569e 100644
--- a/docs/_build/html/source.html
+++ b/docs/_build/html/source.html
@@ -5,7 +5,7 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>EV3 &#8212; Mindstorms EV3 Toolbox v0.3-rc.8 documentation</title>
+    <title>EV3 &#8212; Mindstorms EV3 Toolbox v0.4-rc.10 documentation</title>
     
     <link rel="stylesheet" href="_static/basic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -16,7 +16,7 @@
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    './',
-        VERSION:     'v0.3-rc.8',
+        VERSION:     'v0.4-rc.10',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
@@ -31,7 +31,7 @@
     <script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="Mindstorms EV3 Toolbox v0.3-rc.8 documentation" href="index.html" />
+    <link rel="top" title="Mindstorms EV3 Toolbox v0.4-rc.10 documentation" href="index.html" />
     <link rel="prev" title="Toolbox for controlling Lego Mindstorms EV3 with MATLAB" href="index.html" />
 <meta charset='utf-8'>
 <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
@@ -52,7 +52,7 @@
         </button>
         <a class="navbar-brand" href="index.html">
           Mindstorms EV3 Toolbox</a>
-        <span class="navbar-text navbar-version pull-left"><b>v0.3</b></span>
+        <span class="navbar-text navbar-version pull-left"><b>v0.4</b></span>
       </div>
 
         <div class="collapse navbar-collapse nav-collapse">
@@ -130,14 +130,801 @@
   <div class="row">
     <div class="col-md-12 content">
       
-  <div class="section" id="ev3">
+  <span class="target" id="module-source"></span><div class="section" id="ev3">
 <h1>EV3<a class="headerlink" href="#ev3" title="Permalink to this headline">¶</a></h1>
+<dl class="class">
+<dt id="source.EV3">
+<em class="property">class </em><code class="descclassname">source.</code><code class="descname">EV3</code><span class="sig-paren">(</span><em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3" title="Permalink to this definition">¶</a></dt>
+<dd><p>High-level class to work with physical bricks.</p>
+<p>This is the &#8216;central&#8217; class (from user&#8217;s view) when working with this toolbox. It
+delivers a convenient interface for creating a connection to the brick and sending
+commands to it. An EV3-object creates 4 Motor- and 4 Sensor-objects, one for each port.</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>Creating multiple EV3 objects and connecting them to different physical bricks has not
+been thoroughly tested yet, but seems to work on a first glance.</li>
+</ul>
+<dl class="attribute">
+<dt id="source.EV3.motorA">
+<code class="descname">motorA</code><a class="headerlink" href="#source.EV3.motorA" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Motor</em> &#8211; Motor-object interfacing port A</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.motorB">
+<code class="descname">motorB</code><a class="headerlink" href="#source.EV3.motorB" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Motor</em> &#8211; Motor-object interfacing port B</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.motorC">
+<code class="descname">motorC</code><a class="headerlink" href="#source.EV3.motorC" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Motor</em> &#8211; Motor-object interfacing port C</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.motorD">
+<code class="descname">motorD</code><a class="headerlink" href="#source.EV3.motorD" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Motor</em> &#8211; Motor-object interfacing port D</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.sensor1">
+<code class="descname">sensor1</code><a class="headerlink" href="#source.EV3.sensor1" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Sensor</em> &#8211; Motor-object interfacing port 1</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.sensor2">
+<code class="descname">sensor2</code><a class="headerlink" href="#source.EV3.sensor2" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Sensor</em> &#8211; Motor-object interfacing port 2</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.sensor3">
+<code class="descname">sensor3</code><a class="headerlink" href="#source.EV3.sensor3" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Sensor</em> &#8211; Motor-object interfacing port 3</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.sensor4">
+<code class="descname">sensor4</code><a class="headerlink" href="#source.EV3.sensor4" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>Sensor</em> &#8211; Motor-object interfacing port 4</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.debug">
+<code class="descname">debug</code><a class="headerlink" href="#source.EV3.debug" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric in {0,1,2}</em> &#8211; Debug mode. <em>[WRITABLE]</em></p>
+<ul class="simple">
+<li>0: Debug turned off</li>
+<li>1: Debug turned on for EV3-object -&gt; enables feedback in the console about what firmware-commands have been called when using a method</li>
+<li>2: Low-level-Debug turned on -&gt; each packet sent and received is printed to the console</li>
+</ul>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.batteryMode">
+<code class="descname">batteryMode</code><a class="headerlink" href="#source.EV3.batteryMode" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>string in {&#8216;Percentage&#8217;, &#8216;Voltage&#8217;}</em> &#8211; Mode for reading battery charge.
+<em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.batteryValue">
+<code class="descname">batteryValue</code><a class="headerlink" href="#source.EV3.batteryValue" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric</em> &#8211; Current battery charge. Depending on batteryMode, the reading
+is either in percentage or voltage. <em>[READ-ONLY]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.EV3.isConnected">
+<code class="descname">isConnected</code><a class="headerlink" href="#source.EV3.isConnected" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>bool</em> &#8211; True if virtual brick-object is connected to physical one. <em>[READ-ONLY]</em></p>
+</dd></dl>
+
+<p class="rubric">Examples</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;usb&#8217;); <br />
+ma = b.motorA; <br />
+ma.setProperties(&#8216;power&#8217;, 50, &#8216;limitValue&#8217;, 720); <br />
+ma.start(); <br />
+% fun <br />
+b.sensor1.value <br />
+b.waitFor(); <br />
+b.beep(); <br />
+delete b; <br /></p>
+<dl class="method">
+<dt id="source.EV3.beep">
+<code class="descname">beep</code><span class="sig-paren">(</span><em>ev3</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.beep" title="Permalink to this definition">¶</a></dt>
+<dd><p>Plays a &#8216;beep&#8217;-tone on brick.</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>This equals playTone(10, 1000, 100) (Wraps the same opCode in comm-layer)</li>
+</ul>
+<p class="rubric">Example</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+b.beep(); <br /></p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.EV3.connect">
+<code class="descname">connect</code><span class="sig-paren">(</span><em>ev3</em>, <em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.connect" title="Permalink to this definition">¶</a></dt>
+<dd><p>Connects EV3-object and its Motors and Sensors to physical brick.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>connectionType</strong> (<em>string in {'bt', 'usb'}</em>) &#8211; Connection type</li>
+<li><strong>serPort</strong> (<em>string in {'/dev/rfcomm1', '/dev/rfcomm2', ...}</em>) &#8211; Path to serial port
+(if &#8216;bt&#8217;)</li>
+<li><strong>beep</strong> (<em>bool</em>) &#8211; If true, EV3 beeps if connection has been established</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">Examples</p>
+<p>% Setup bluetooth connection via com-port 0 <br />
+b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+% Setup usb connection, beep when connection has been established
+b = EV3(); <br />
+b.connect(&#8216;usb&#8217;, &#8216;beep&#8217;, &#8216;on&#8217;, ); <br /></p>
+<p>Check connection</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.EV3.disconnect">
+<code class="descname">disconnect</code><span class="sig-paren">(</span><em>ev3</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.disconnect" title="Permalink to this definition">¶</a></dt>
+<dd><p>Disconnects EV3-object and its Motors and Sensors from physical brick.</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>Gets called automatically when EV3-object is destroyed.</li>
+</ul>
+<p class="rubric">Example</p>
+<p>b = EV3();
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;);
+% do stuff
+b.disconnect();</p>
+<p>Reset motors and sensors before disconnecting</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.EV3.playTone">
+<code class="descname">playTone</code><span class="sig-paren">(</span><em>ev3</em>, <em>volume</em>, <em>frequency</em>, <em>duration</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.playTone" title="Permalink to this definition">¶</a></dt>
+<dd><p>Plays tone on brick.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>volume</strong> (<em>numeric in [0, 100]</em>) &#8211; in percent</li>
+<li><strong>frequency</strong> (<em>numeric in [250, 10000]</em>) &#8211; in Hertz</li>
+<li><strong>duration</strong> (<em>numeric &gt;0</em>) &#8211; in milliseconds</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">Example</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+b.playTone(40, 5000, 1000);  % Plays tone with 40% volume and 5000Hz for 1
+second. <br /></p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.EV3.setProperties">
+<code class="descname">setProperties</code><span class="sig-paren">(</span><em>ev3</em>, <em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.setProperties" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set multiple EV3 properties at once using MATLAB&#8217;s inputParser.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>debug</strong> (<em>numeric in {0,1,2}</em>) &#8211; see EV3.debug <em>[OPTIONAL]</em></li>
+<li><strong>batteryMode</strong> (<em>string in {'Voltage'/'Percentage'}</em>) &#8211; see EV3.batteryMode <em>[OPTIONAL]</em></li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">Example</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+b.setProperties(&#8216;debug&#8217;, &#8216;on&#8217;, &#8216;batteryMode&#8217;, &#8216;Voltage&#8217;); <br />
+% Instead of: b.debug = &#8216;on&#8217;; b.batteryMode = &#8216;Voltage&#8217;; <br /></p>
+<p>See also EV3.DEBUG, EV3.BATTERYMODE</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.EV3.stopAllMotors">
+<code class="descname">stopAllMotors</code><span class="sig-paren">(</span><em>ev3</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.stopAllMotors" title="Permalink to this definition">¶</a></dt>
+<dd><p>Sends a stop-command to all motor-ports</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.EV3.stopTone">
+<code class="descname">stopTone</code><span class="sig-paren">(</span><em>ev3</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.stopTone" title="Permalink to this definition">¶</a></dt>
+<dd><p>Stops tone currently played</p>
+<p class="rubric">Example</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+b.playTone(10,100,100000000);  % Accidentally given wrong tone duration :) <br />
+b.stopTone();  % Stops tone immediately. <br /></p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.EV3.tonePlayed">
+<code class="descname">tonePlayed</code><span class="sig-paren">(</span><em>ev3</em><span class="sig-paren">)</span><a class="headerlink" href="#source.EV3.tonePlayed" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests if tone is currently played.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><strong>status</strong> &#8211; True if a tone is being played</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
+</tr>
+</tbody>
+</table>
+<dl class="docutils">
+<dt>Example</dt>
+<dd>b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+b.playTone(10, 100, 1000); <br />
+pause(0.5); <br />
+b.tonePlayed() -&gt; Outputs 1 to console. <br /></dd>
+</dl>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 <div class="section" id="motor">
 <h1>Motor<a class="headerlink" href="#motor" title="Permalink to this headline">¶</a></h1>
+<dl class="class">
+<dt id="source.Motor">
+<em class="property">class </em><code class="descclassname">source.</code><code class="descname">Motor</code><span class="sig-paren">(</span><em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor" title="Permalink to this definition">¶</a></dt>
+<dd><p>High-level class to work with motors.</p>
+<p>This class is supposed to ease the use of the brick&#8217;s motors. It is possible to set all
+kinds of parameters, request the current status of the motor ports and of course send
+commands to the brick to be executed on the respective port.</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>You don&#8217;t need to create instances of this class. The EV3-class automatically creates
+instances for each motor port, and you can work with them via the EV3-object.</li>
+<li>The Motor-class represents motor ports, not individual motors!</li>
+<li>If you start a motor with power=0, the internal state will still be set to
+&#8216;isRunning&#8217;</li>
+</ul>
+<dl class="attribute">
+<dt id="source.Motor.power">
+<code class="descname">power</code><a class="headerlink" href="#source.Motor.power" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric in [-100, 100]</em> &#8211; Power level of motor in percent. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.speedRegulation">
+<code class="descname">speedRegulation</code><a class="headerlink" href="#source.Motor.speedRegulation" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>bool</em> &#8211; Speed regulation turned on or off. When turned on, motor will
+try to &#8216;hold&#8217; its speed at given power level, whatever the load. In this mode, the
+highest possible speed depends on the load and mostly goes up to around 70-80 (at
+this point, the Brick internally input 100% power). When turned off, motor will
+constantly input the same power into the motor. The resulting speed will be
+somewhat lower, depending on the load. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.smoothStart">
+<code class="descname">smoothStart</code><a class="headerlink" href="#source.Motor.smoothStart" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric s. t. smoothStart+smoothStop &lt; limitValue</em> &#8211; Degrees/Time
+indicating how far/long the motor should smoothly start. Depending on limitMode,
+the input is interpreted either in degrees or milliseconds. The first
+{smoothStart}-milliseconds/degrees of limitValue the motor will slowly accelerate
+until reaching its defined speed. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.smoothStop">
+<code class="descname">smoothStop</code><a class="headerlink" href="#source.Motor.smoothStop" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric s. t. smoothStart+smoothStop &lt; limitValue</em> &#8211; Degrees/Time
+indicating how far/long the motor should smoothly stop. Depending on limitMode, the
+input is interpreted either in degrees or milliseconds. The last
+[smoothStop]-milliseconds/degrees of limitValue the motor will slowly slow down
+until it has stopped. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.limitValue">
+<code class="descname">limitValue</code><a class="headerlink" href="#source.Motor.limitValue" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric&gt;=0</em> &#8211; Degrees/Time indicating how far/long the motor should run.
+Depending on limitMode, the input is interpreted either in degrees or
+milliseconds. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.limitMode">
+<code class="descname">limitMode</code><a class="headerlink" href="#source.Motor.limitMode" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>&#8216;Tacho&#8217;|&#8217;Time&#8217;</em> &#8211; Mode for motor limit. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.brakeMode">
+<code class="descname">brakeMode</code><a class="headerlink" href="#source.Motor.brakeMode" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>&#8216;Brake&#8217;|&#8217;Coast&#8217;</em> &#8211; Action done when stopping. If &#8216;Coast&#8217;, the motor will (at
+tacholimit, if ~=0) coast to a stop. If &#8216;Brake&#8217;, the motor will stop immediately
+(at tacholimit, if ~=0) and hold the brake. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.debug">
+<code class="descname">debug</code><a class="headerlink" href="#source.Motor.debug" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>bool</em> &#8211; Debug turned on or off. In debug mode, everytime a command is passed to
+the sublayer (&#8216;communication layer&#8217;), there is feedback in the console about what
+command has been called. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.isRunning">
+<code class="descname">isRunning</code><a class="headerlink" href="#source.Motor.isRunning" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>bool</em> &#8211; True if motor is running. <em>[READ-ONLY]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.tachoCount">
+<code class="descname">tachoCount</code><a class="headerlink" href="#source.Motor.tachoCount" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric</em> &#8211; Current tacho count. <em>[READ-ONLY]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.currentSpeed">
+<code class="descname">currentSpeed</code><a class="headerlink" href="#source.Motor.currentSpeed" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric</em> &#8211; Current speed of motor. If speedRegulation=on this should equal power,
+otherwise it will probably be lower than that. <em>[READ-ONLY]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Motor.type">
+<code class="descname">type</code><a class="headerlink" href="#source.Motor.type" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>DeviceType</em> &#8211; Type of connected device if any. <em>[READ-ONLY]</em></p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.internalReset">
+<code class="descname">internalReset</code><span class="sig-paren">(</span><em>motor</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.internalReset" title="Permalink to this definition">¶</a></dt>
+<dd><p>Resets internal tacho count. Use this if motor behaves weird (i.e. not starting at all, or not correctly
+running to limitValue)</p>
+<p>The internal tacho count is used for positioning the motor. When the
+motor is running with a tacho limit, internally it uses another counter than the
+one read by tachoCount. This internal tacho count needs to be reset if you
+physically change the motor&#8217;s position or it coasted into a stop. If the motor&#8217;s
+brakemode is &#8216;Coast&#8217;, this function is called automatically.</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>A better name would probably be resetPosition...</li>
+<li>Gets called automatically when starting the motor and the internal tacho</li>
+</ul>
+<p>count is &gt; 0</p>
+<p>See also MOTOR.RESETTACHOCOUNT</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.resetTachoCount">
+<code class="descname">resetTachoCount</code><span class="sig-paren">(</span><em>motor</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.resetTachoCount" title="Permalink to this definition">¶</a></dt>
+<dd><p>Resets tachocount</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.setBrake">
+<code class="descname">setBrake</code><span class="sig-paren">(</span><em>motor</em>, <em>brake</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.setBrake" title="Permalink to this definition">¶</a></dt>
+<dd><p>Apply or release brake of motor</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>brake</strong> (<em>bool</em>) &#8211; If true, brake will be pulled</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.setProperties">
+<code class="descname">setProperties</code><span class="sig-paren">(</span><em>motor</em>, <em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.setProperties" title="Permalink to this definition">¶</a></dt>
+<dd><p>Sets multiple Motor properties at once using MATLAB&#8217;s inputParser.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>debug</strong> (<em>bool</em>) &#8211; </li>
+<li><strong>smoothStart</strong> (<em>numeric in [0, limitValue]</em>) &#8211; </li>
+<li><strong>smoothStop</strong> (<em>numeric in [0, limitValue]</em>) &#8211; </li>
+<li><strong>speedRegulation</strong> (<em>bool</em>) &#8211; </li>
+<li><strong>brakeMode</strong> (<em>'Coast'|'Brake'</em>) &#8211; </li>
+<li><strong>limitMode</strong> (<em>'Time'|'Tacho'</em>) &#8211; </li>
+<li><strong>limitValue</strong> (<em>numeric &gt; 0</em>) &#8211; </li>
+<li><strong>power</strong> (<em>numeric in [-100,100]</em>) &#8211; </li>
+<li><strong>batteryMode</strong> (<em>'Voltage'|'Percentage'</em>) &#8211; </li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">Example</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+b.motorA.setProperties(&#8216;debug&#8217;, &#8216;on&#8217;, &#8216;power&#8217;, 50, &#8216;limitValue&#8217;, 720, &#8216;speedRegulation&#8217;, &#8216;on&#8217;); <br />
+% Instead of: b.motorA.debug = &#8216;on&#8217;; <br />
+%             b.motorA.power = 50; <br />
+%             b.motorA.limitValue = 720; <br />
+%             b.motorA.speedRegulation = &#8216;on&#8217;; <br /></p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.start">
+<code class="descname">start</code><span class="sig-paren">(</span><em>motor</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.start" title="Permalink to this definition">¶</a></dt>
+<dd><p>Starts the motor</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>Right now, alternatingly calling this function with and without tacho limit
+may lead to unexpected behaviour. For example, if you run the motor without
+a tacholimit for some time using Coast, then stop using Coast, and then try
+to run the with a tacholimit, it will stop sooner or later than expected,
+or may not even start at all.</li>
+<li>(OLD)After calling one of the functions to control the motor with some kind of
+limit (which is done if limit~=0), the physical brick&#8217;s power/speed value for
+starting without a limit (i.e. if limit==0) is reset to zero. So if you want
+to control the motor without a limit after doing so with a limit, you would
+have to set the power manually to the desired value again. (I don&#8217;t really
+know if this is deliberate or a bug, and at this point, I&#8217;m too afraid to ask.)
+To avoid confusion, this is done automatically in this special case.
+However, this does not even work all the time. If motor does not
+start, call stop() and setPower() manually. :/</li>
+</ul>
+<p>Check connection and if motor is already running</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.stop">
+<code class="descname">stop</code><span class="sig-paren">(</span><em>motor</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.stop" title="Permalink to this definition">¶</a></dt>
+<dd><p>Stops the motor</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.syncedStart">
+<code class="descname">syncedStart</code><span class="sig-paren">(</span><em>motor</em>, <em>syncMotor</em>, <em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.syncedStart" title="Permalink to this definition">¶</a></dt>
+<dd><p>Starts this motor synchronized with another</p>
+<p>This motor acts as a &#8216;master&#8217;, meaning that the synchronized control is done via
+this one. When syncedStart is called, the master sets some of the slave&#8217;s
+(syncMotor) properties to keep it consistent with the physical brick. So, for
+example, changing the power on the master motor will take effect
+on the slave as soon as this method is called.
+The following parameters will be affected on the slave: power, brakeMode,
+limitValue, speedRegulation</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>syncMotor</strong> (<em>Motor</em>) &#8211; the motor-object to sync with</li>
+<li><strong>turnRatio</strong> (<em>numeric in [-200,200]</em>) &#8211; <p><em>[OPTIONAL]</em> <br /> (Excerpt of Firmware-comments, in c_output.c):
+&#8220;Turn ratio is how tight you turn and to what direction you turn.</p>
+<blockquote>
+<div><ul>
+<li>0 value is moving straight forward</li>
+<li>Negative values turn to the left</li>
+<li>Positive values turn to the right</li>
+<li>Value -100 stops the left motor</li>
+<li>Value +100 stops the right motor</li>
+<li>Values less than -100 makes the left motor run the opposite direction of the right motor (Spin)</li>
+<li>Values greater than +100 makes the right motor run the opposite direction of the left motor (Spin)&#8221;</li>
+</ul>
+</div></blockquote>
+</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>This is right now a pretty &#8216;heavy&#8217; function, as it tests if both motors are
+connected AND aren&#8217;t running, wasting four packets, keep that in mind</li>
+<li>It is necessary to call syncedStop() and not stop() for stopping the motors
+(otherwise the sync-state cannot be exited correctly)</li>
+</ul>
+<p class="rubric">Example</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;usb&#8217;); <br />
+m = b.motorA; <br />
+slave = b.motorB; <br />
+m.power = 50; <br />
+m.syncedStart(slave); <br />
+% Do stuff
+m.syncedStop(); <br /></p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.syncedStop">
+<code class="descname">syncedStop</code><span class="sig-paren">(</span><em>motor</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.syncedStop" title="Permalink to this definition">¶</a></dt>
+<dd><p>Stops both motors previously started with syncedStart.</p>
+<p>See also MOTOR.SYNCEDSTART</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Motor.waitFor">
+<code class="descname">waitFor</code><span class="sig-paren">(</span><em>motor</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Motor.waitFor" title="Permalink to this definition">¶</a></dt>
+<dd><p>Stops execution of program as long as motor is running</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>(OLD)This one&#8217;s a bit tricky. The opCode OutputReady makes the brick stop sending
+responses until the motor has stopped. For security reasons, in this toolbox
+there is an internal timeout for receiving messages from the brick. It raises
+an error if a reply takes too long, which would happen in this case. As a
+workaround, there is an infinite loop that catches errors from outputReady and
+continues then, until outputReady will actually finish without an error.</li>
+<li>(OLD)OutputReady (like OutputTest in isRunning) sometimes doesn&#8217;t work. If
+outputReady returns in less than a second, another while-loop iterates until
+the motor has stopped, this time using motor.isRunning() (this only works as
+long as not both OutputTest and OutputReady are buggy).</li>
+<li>(OLD)Workaround: Poll isRunning (which itself return (speed&gt;0)) until it
+is false (No need to check if motor is connected as speed correctly
+returns 0 if it&#8217;s not)</li>
+</ul>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 <div class="section" id="sensor">
 <h1>Sensor<a class="headerlink" href="#sensor" title="Permalink to this headline">¶</a></h1>
+<dl class="class">
+<dt id="source.Sensor">
+<em class="property">class </em><code class="descclassname">source.</code><code class="descname">Sensor</code><span class="sig-paren">(</span><em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Sensor" title="Permalink to this definition">¶</a></dt>
+<dd><p>High-level class to work with sensors.</p>
+<p>The Sensor-class facilitates the communication with sensors. This mainly consists of
+reading the sensor&#8217;s type and current value in a specified mode.</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>You don&#8217;t need to create instances of this class. The EV3-class automatically creates
+instances for each sensor port, and you can work with them via the EV3-object.</li>
+<li>The Sensor-class represents sensor ports, not individual sensors!</li>
+</ul>
+<dl class="attribute">
+<dt id="source.Sensor.mode">
+<code class="descname">mode</code><a class="headerlink" href="#source.Sensor.mode" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>DeviceMode.{Type}</em> &#8211; Sensor mode in which the value will be read. By default,
+mode is set to DeviceMode.Default.Undefined. Once a physical sensor is connected
+to the port <em>and</em> the physical Brick is connected to the EV3-object, the allowed
+mode and the default mode for a Sensor-object are the following (depending on the
+sensor type): <em>[WRITABLE]</em></p>
+<blockquote>
+<div><ul>
+<li><dl class="first docutils">
+<dt>Touch-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.Touch.Pushed <em>[Default]</em></li>
+<li>DeviceMode.Touch.Bumps</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>Ultrasonic-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.UltraSonic.DistCM <em>[Default]</em></li>
+<li>DeviceMode.UltraSonic.DistIn</li>
+<li>DeviceMode.UltraSonic.Listen</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>Color-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.Color.Reflect <em>[Default]</em></li>
+<li>DeviceMode.Color.Ambient</li>
+<li>DeviceMode.Color.Col</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>Gyro-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.Gyro.Angular <em>[Default]</em></li>
+<li>DeviceMode.Gyro.Rate</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>Infrared-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.InfraRed.Prox <em>[Default]</em></li>
+<li>DeviceMode.InfraRed.Seek</li>
+<li>DeviceMode.InfraRed.Remote</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>NXTColor-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.NXTColor.Reflect <em>[Default]</em></li>
+<li>DeviceMode.NXTColor.Ambient</li>
+<li>DeviceMode.NXTColor.Color</li>
+<li>DeviceMode.NXTColor.Green</li>
+<li>DeviceMode.NXTColor.Blue</li>
+<li>DeviceMode.NXTColor.Raw</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>NXTLight-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.NXTLight.Reflect <em>[Default]</em></li>
+<li>DeviceMode.NXTLight.Ambient</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>NXTSound-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.NXTSound.DB <em>[Default]</em></li>
+<li>DeviceMode.NXTSound.DBA</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>NXTTemperature-Sensor</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.NXTTemperature.C <em>[Default]</em></li>
+<li>DeviceMode.NXTTemperature.F</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>NXTTouch-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.NXTTouch.Pushed <em>[Default]</em></li>
+<li>DeviceMode.NXTTouch.Bumps</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>NXTUltraSonic-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.NXTUltraSonic.CM <em>[Default]</em></li>
+<li>DeviceMode.NXTUltraSonic.IN</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>HTAccelerometer-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.HTAccelerometer.Acceleration <em>[Default]</em></li>
+<li>DeviceMode.HTAccelerometer.AccelerationAllAxes</li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>HTCompass-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.HTCompass.Degrees <em>[Default]</em></li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><dl class="first docutils">
+<dt>HTColor-Sensor:</dt>
+<dd><ul class="first last simple">
+<li>DeviceMode.HTColor.Col <em>[Default]</em></li>
+<li>DeviceMode.HTColor.Red</li>
+<li>DeviceMode.HTColor.Green</li>
+<li>DeviceMode.HTColor.Blue</li>
+<li>DeviceMode.HTColor.White</li>
+<li>DeviceMode.HTColor.Raw</li>
+<li>DeviceMode.HTColor.Nr,</li>
+<li>DeviceMode.HTColor.All</li>
+</ul>
+</dd>
+</dl>
+</li>
+</ul>
+</div></blockquote>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Sensor.debug">
+<code class="descname">debug</code><a class="headerlink" href="#source.Sensor.debug" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>bool</em> &#8211; Debug turned on or off. In debug mode, everytime a command is passed to
+the sublayer (&#8216;communication layer&#8217;), there is feedback in the console about what
+command has been called. <em>[WRITABLE]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Sensor.value">
+<code class="descname">value</code><a class="headerlink" href="#source.Sensor.value" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>numeric</em> &#8211; Value read from hysical sensor. What the value represents depends on
+sensor.mode. <em>[READ-ONLY]</em></p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="source.Sensor.type">
+<code class="descname">type</code><a class="headerlink" href="#source.Sensor.type" title="Permalink to this definition">¶</a></dt>
+<dd><p><em>DeviceType</em> &#8211; Type of physical sensor connected to the port. Possible types are: [READ-ONLY]</p>
+<ul class="simple">
+<li>DeviceType.NXTTouch</li>
+<li>DeviceType.NXTLight</li>
+<li>DeviceType.NXTSound</li>
+<li>DeviceType.NXTColor</li>
+<li>DeviceType.NXTUltraSonic</li>
+<li>DeviceType.NXTTemperature</li>
+<li>DeviceType.LargeMotor</li>
+<li>DeviceType.MediumMotor</li>
+<li>DeviceType.Touch</li>
+<li>DeviceType.Color</li>
+<li>DeviceType.UltraSonic</li>
+<li>DeviceType.Gyro</li>
+<li>DeviceType.InfraRed</li>
+<li>DeviceType.HTColor</li>
+<li>DeviceType.HTCompass</li>
+<li>DeviceType.HTAccelerometer</li>
+<li>DeviceType.Unknown</li>
+<li>DeviceType.None</li>
+<li>DeviceType.Error</li>
+</ul>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Sensor.reset">
+<code class="descname">reset</code><span class="sig-paren">(</span><em>sensor</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Sensor.reset" title="Permalink to this definition">¶</a></dt>
+<dd><p>Resets value on sensor</p>
+<p class="rubric">Notes</p>
+<ul class="simple">
+<li>This clears ALL the sensors right now, no other Op-Code available... :(</li>
+</ul>
+</dd></dl>
+
+<dl class="method">
+<dt id="source.Sensor.setProperties">
+<code class="descname">setProperties</code><span class="sig-paren">(</span><em>sensor</em>, <em>varargin</em><span class="sig-paren">)</span><a class="headerlink" href="#source.Sensor.setProperties" title="Permalink to this definition">¶</a></dt>
+<dd><p>Sets multiple Sensor properties at once using MATLAB&#8217;s inputParser.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>debug</strong> (<em>bool</em>) &#8211; </li>
+<li><strong>mode</strong> (<em>DeviceMode.{Type}</em>) &#8211; </li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<p class="rubric">Example</p>
+<p>b = EV3(); <br />
+b.connect(&#8216;bt&#8217;, &#8216;serPort&#8217;, &#8216;/dev/rfcomm0&#8217;); <br />
+b.sensor1.setProperties(&#8216;debug&#8217;, &#8216;on&#8217;, &#8216;mode&#8217;, DeviceMode.Color.Ambient); <br />
+% Instead of: b.sensor1.debug = &#8216;on&#8217;; <br />
+%             b.sensor1.mode = DeviceMode.Color.Ambient; <br /></p>
+</dd></dl>
+
+</dd></dl>
+
 </div>