Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ev3-toolbox-matlab
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mindstorms
ev3-toolbox-matlab
Commits
7cbd6013
Commit
7cbd6013
authored
8 years ago
by
Tim Stadtmann
Browse files
Options
Downloads
Patches
Plain Diff
Test some documentation inline formats
parent
b8547226
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/EV3.m
+21
-14
21 additions, 14 deletions
source/EV3.m
with
21 additions
and
14 deletions
source/EV3.m
+
21
−
14
View file @
7cbd6013
...
...
@@ -18,19 +18,26 @@ classdef EV3 < MaskedHandle
% sensor2 (Sensor): Motor-object interfacing port 2
% sensor3 (Sensor): Motor-object interfacing port 3
% sensor4 (Sensor): Motor-object interfacing port 4
% debug (numeric in {0,1,2}): Debug mode. [WRITABLE]
%
* 0: Debug turned off
%
* 1: (High-level-) Debug turned on for EV3-object - enables feedback in the
%
console about what firmware-commands have been called when using a method
%
*
2: Low-level-Debug turned on - each packet sent and received is printed to the
%
console
% debug (numeric in {0,1,2}): Debug mode. [
**
WRITABLE
**
]
%
%
- 0: Debug turned off
%
- 1: Debug turned on for EV3-object -> enables feedback in the
console about what firmware-commands have been called when using a method
%
-
2: Low-level-Debug turned on - each packet sent and received is printed to the
console
%
% batteryMode (string in {'Percentage', 'Voltage'}): Mode for reading battery charge.
% [WRITABLE]
% [
**
WRITABLE
**
]
% batteryValue (numeric): Current battery charge. Depending on batteryMode, the reading
% is either in percentage or voltage. [READ-ONLY]
% isConnected (bool): True if virtual brick-object is connected to physical one. [READ-ONLY]
% is either in percentage or voltage. [**READ-ONLY**]
% isConnected (bool): True if virtual brick-object is connected to physical one. [**READ-ONLY**]
%
% Examples:
% b = EV3(); |br|
% b.connect('usb'); |br|
% ma = b.motorA; |br|
% ma.start(); |br|
% % fun |br|
% ma.stop(); |br|
% delete b; |br|
properties
% batteryMode (string in {'Percentage', 'Voltage'}): Mode for reading battery charge. [WRITABLE]
...
...
@@ -38,10 +45,10 @@ classdef EV3 < MaskedHandle
batteryMode
;
% debug (numeric in {0,1,2}): Debug mode. [WRITABLE]
%
*
0: Debug turned off
%
*
1: (High-level-) Debug turned on for EV3-object - enables feedback in the
%
-
0: Debug turned off
%
-
1: (High-level-) Debug turned on for EV3-object - enables feedback in the
% console about what firmware-commands have been called when using a method
%
*
2: Low-level-Debug turned on - each packet sent and received is printed to the
%
-
2: Low-level-Debug turned on - each packet sent and received is printed to the
% console
debug
;
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment