Skip to content

Commit

Permalink
update README and exec build
Browse files Browse the repository at this point in the history
  • Loading branch information
Darius Morawiec committed Apr 11, 2015
1 parent 14b1ea9 commit 07c6fc0
Show file tree
Hide file tree
Showing 25 changed files with 209 additions and 160 deletions.
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The [Myo](https://www.thalmic.com) armband lets you use the electrical activity

## Download

- [Myo for Processing v0.8.1.2](download/MyoForProcessing.zip?raw=true)
- [Myo for Processing v0.8.1.3](download/MyoForProcessing.zip?raw=true)

Note: If you are interested in the newest **development** implementation, so have a look at the [dev branch](https://github.com/nok/myo-processing/tree/dev).

Expand Down Expand Up @@ -97,23 +97,23 @@ void draw() {
// ----------------------------------------------------------

void myoOnPair(Myo myo, long timestamp, String firmware) {
println("Sketch: myoOnPair");
println("Sketch: myoOnPair & Device: "+myo.getId());
}

void myoOnUnpair(Myo myo, long timestamp) {
println("Sketch: myoOnUnpair");
println("Sketch: myoOnUnpair & Device: "+myo.getId());
}

void myoOnConnect(Myo myo, long timestamp, String firmware) {
println("Sketch: myoOnConnect");
println("Sketch: myoOnConnect & Device: "+myo.getId());
}

void myoOnDisconnect(Myo myo, long timestamp) {
println("Sketch: myoOnDisconnect");
println("Sketch: myoOnDisconnect & Device: "+myo.getId());
}

void myoOnArmSync(Myo myo, long timestamp, Arm arm) {
println("Sketch: myoOnArmSync");
println("Sketch: myoOnArmSync & Device: "+myo.getId());

switch (arm.getType()) {
case LEFT:
Expand All @@ -134,19 +134,20 @@ void myoOnArmSync(Myo myo, long timestamp, Arm arm) {
}

void myoOnLock(Myo myo, long timestamp){
println("Sketch: myoOnLock");
println("Sketch: myoOnLock & Device: "+myo.getId());
}

void myoOnUnLock(Myo myo, long timestamp){
println("Sketch: myoOnUnLock");
println("Sketch: myoOnUnLock & Device: "+myo.getId());
}

void myoOnArmUnsync(Myo myo, long timestamp) {
println("Sketch: myoOnArmUnsync");
println("Sketch: myoOnArmUnsync & Device: "+myo.getId());
}

void myoOnPose(Myo myo, long timestamp, Pose pose) {
println("Sketch: myoOnPose");
println("Sketch: myoOnPose & Device: "+myo.getId());

switch (pose.getType()) {
case REST:
println("Pose: REST");
Expand All @@ -173,19 +174,19 @@ void myoOnPose(Myo myo, long timestamp, Pose pose) {
}

void myoOnOrientation(Myo myo, long timestamp, PVector orientation) {
// println("Sketch: myoOnOrientation");
// println("Sketch: myoOnOrientation & Device: "+myo.getId());
}

void myoOnAccelerometer(Myo myo, long timestamp, PVector accelerometer) {
// println("Sketch: myoOnAccelerometer");
// println("Sketch: myoOnAccelerometer & Device: "+myo.getId());
}

void myoOnGyroscope(Myo myo, long timestamp, PVector gyroscope) {
// println("Sketch: myoOnGyroscope");
// println("Sketch: myoOnGyroscope & Device: "+myo.getId());
}

void myoOnRssi(Myo myo, long timestamp, int rssi) {
println("Sketch: myoOnRssi");
println("Sketch: myoOnRssi & Device: "+myo.getId());
}

// ----------------------------------------------------------
Expand Down Expand Up @@ -256,7 +257,7 @@ void draw() {
// ----------------------------------------------------------

void myoOnEmg(Myo myo, long timestamp, int[] data) {
println("Sketch: myoOnEmg");
println("Sketch: myoOnEmg & Device: "+myo.getId());
for(int i = 0; i<data.length; i++){
println(data[i]); // [-128 - 127]
}
Expand All @@ -267,7 +268,7 @@ void myoOnEmg(Myo myo, long timestamp, int[] data) {
void myoOn(Myo.Event event, Myo myo, long timestamp) {
switch(event) {
case EMG:
println("myoOn EMG");
println("Sketch: myoOn EMG & Device: "+myo.getId());
int[] data = myo.getEmg();
for(int i = 0; i<data.length; i++){
println(data[i]); // [-128 - 127]
Expand Down
4 changes: 2 additions & 2 deletions download/MyoForProcessing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ paragraph =
# compare different versions of the same library, and check if an update is
# available. You should think of it as a counter, counting the total number of
# releases you've had.
version = 13
version = 14

# The version as the user will see it. If blank, the version attribute will be
# used here.
prettyVersion = 0.8.1.2
prettyVersion = 0.8.1.3

# The min and max revision of Processing compatible with your library.
# Note that these fields use the revision and not the version of Processing,
Expand Down
Binary file modified download/MyoForProcessing.zip
Binary file not shown.
Binary file modified library/MyoForProcessing.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions reference/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:03 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>All Classes (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions reference/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:03 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>All Classes (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions reference/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:03 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>Constant Field Values (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions reference/de/voidplus/myo/Arm.Type.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:02 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>Arm.Type (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions reference/de/voidplus/myo/Arm.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:02 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>Arm (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
Expand Down
62 changes: 31 additions & 31 deletions reference/de/voidplus/myo/Collector.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:03 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>Collector (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
Expand Down Expand Up @@ -203,7 +203,7 @@ <h3>Method Summary</h3>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../de/voidplus/myo/Collector.html#onUnlock(de.voidplus.myo.Myo,%20long)">onUnlock</a></strong>(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;arg0,
<td class="colLast"><code><strong><a href="../../../de/voidplus/myo/Collector.html#onUnlock(de.voidplus.myo.Myo,%20long)">onUnlock</a></strong>(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
Expand Down Expand Up @@ -325,68 +325,68 @@ <h4>onPose</h4>
com.thalmic.myo.Pose&nbsp;pose)</pre>
</li>
</ul>
<a name="onOrientationData(de.voidplus.myo.Myo, long, Quaternion)">
<a name="onRssi(de.voidplus.myo.Myo, long, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onOrientationData</h4>
<pre>public&nbsp;void&nbsp;onOrientationData(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
Quaternion&nbsp;rotation)</pre>
<h4>onRssi</h4>
<pre>public&nbsp;void&nbsp;onRssi(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
int&nbsp;rssi)</pre>
</li>
</ul>
<a name="onAccelerometerData(de.voidplus.myo.Myo, long, Vector3)">
<a name="onLock(de.voidplus.myo.Myo, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onAccelerometerData</h4>
<pre>public&nbsp;void&nbsp;onAccelerometerData(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
Vector3&nbsp;accelerometer)</pre>
<h4>onLock</h4>
<pre>public&nbsp;void&nbsp;onLock(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp)</pre>
</li>
</ul>
<a name="onGyroscopeData(de.voidplus.myo.Myo, long, Vector3)">
<a name="onUnlock(de.voidplus.myo.Myo, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onGyroscopeData</h4>
<pre>public&nbsp;void&nbsp;onGyroscopeData(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
Vector3&nbsp;gyroscope)</pre>
<h4>onUnlock</h4>
<pre>public&nbsp;void&nbsp;onUnlock(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp)</pre>
</li>
</ul>
<a name="onRssi(de.voidplus.myo.Myo, long, int)">
<a name="onOrientationData(de.voidplus.myo.Myo, long, Quaternion)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onRssi</h4>
<pre>public&nbsp;void&nbsp;onRssi(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
int&nbsp;rssi)</pre>
<h4>onOrientationData</h4>
<pre>public&nbsp;void&nbsp;onOrientationData(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
Quaternion&nbsp;rotation)</pre>
</li>
</ul>
<a name="onLock(de.voidplus.myo.Myo, long)">
<a name="onAccelerometerData(de.voidplus.myo.Myo, long, Vector3)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onLock</h4>
<pre>public&nbsp;void&nbsp;onLock(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp)</pre>
<h4>onAccelerometerData</h4>
<pre>public&nbsp;void&nbsp;onAccelerometerData(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
Vector3&nbsp;accelerometer)</pre>
</li>
</ul>
<a name="onUnlock(de.voidplus.myo.Myo, long)">
<a name="onGyroscopeData(de.voidplus.myo.Myo, long, Vector3)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onUnlock</h4>
<pre>public&nbsp;void&nbsp;onUnlock(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;arg0,
long&nbsp;timestamp)</pre>
<h4>onGyroscopeData</h4>
<pre>public&nbsp;void&nbsp;onGyroscopeData(<a href="../../../de/voidplus/myo/Myo.html" title="class in de.voidplus.myo">Myo</a>&nbsp;myo,
long&nbsp;timestamp,
Vector3&nbsp;gyroscope)</pre>
</li>
</ul>
<a name="onEmgData(de.voidplus.myo.Myo, long, byte[])">
Expand Down
4 changes: 2 additions & 2 deletions reference/de/voidplus/myo/Myo.Event.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:03 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>Myo.Event (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions reference/de/voidplus/myo/Myo.LockingPolicy.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:03 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>Myo.LockingPolicy (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions reference/de/voidplus/myo/Myo.Unlock.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Mon Apr 06 19:57:03 CEST 2015 -->
<!-- Generated by javadoc (version 1.7.0_71) on Sat Apr 11 23:56:57 CEST 2015 -->
<title>Myo.Unlock (Javadocs: MyoForProcessing)</title>
<meta name="date" content="2015-04-06">
<meta name="date" content="2015-04-11">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
Expand Down
Loading

0 comments on commit 07c6fc0

Please sign in to comment.