Skip to content

Commit

Permalink
Merge pull request #66 from soundanalogous/dev
Browse files Browse the repository at this point in the history
Update AdvancedFirmata
  • Loading branch information
soundanalogous committed Aug 14, 2014
2 parents 9b6ea7b + 7351e13 commit 17ddd94
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/classes/BO.io.Stepper.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ <h4>Parameters:</h4>

<div class="param-description">
<p>The type of driver (<code>Stepper.DRIVER</code>,
<code>Stepper.DRIVER_HIGH_CURRENT,</code>Stepper.TWO<em>WIRE<code>, or
</code>Stepper.FOUR</em>WIRE`).</p>
<code>Stepper.DRIVER_HIGH_CURRENT</code>, <code>Stepper.TWO_WIRE</code>, or
<code>Stepper.FOUR_WIRE</code>).</p>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@
},
{
"name": "driverType.",
"description": "The type of driver (`Stepper.DRIVER`,\n`Stepper.DRIVER_HIGH_CURRENT, `Stepper.TWO_WIRE`, or\n`Stepper.FOUR_WIRE`).",
"description": "The type of driver (`Stepper.DRIVER`,\n`Stepper.DRIVER_HIGH_CURRENT`, `Stepper.TWO_WIRE`, or\n`Stepper.FOUR_WIRE`).",
"type": "Number"
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/files/src_io_Stepper.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ <h1 class="file-heading">File: src/io/Stepper.js</h1>
* @param {IOBoard} board A reference to the IOBoard instance that the
* stepper is attached to.
* @param {Number} driverType. The type of driver (&#x60;Stepper.DRIVER&#x60;,
* &#x60;Stepper.DRIVER_HIGH_CURRENT, &#x60;Stepper.TWO_WIRE&#x60;, or
* &#x60;Stepper.DRIVER_HIGH_CURRENT&#x60;, &#x60;Stepper.TWO_WIRE&#x60;, or
* &#x60;Stepper.FOUR_WIRE&#x60;).
* @param {Number} numStepsPerRev The number of steps to make 1 revolution.
* @param {Pin} directionPin If dirver interface, the pin used to control
Expand Down
4 changes: 2 additions & 2 deletions firmware/AdvancedFirmata/AdvancedFirmata.ino
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ void sysexCallback(byte command, byte argc, byte *argv)
Serial.write(1); // to do: determine appropriate value
}
if (IS_PIN_DIGITAL(pin)) {
Firmata.write(STEPPER);
Firmata.write(21); //21 bits used for number of steps
Serial.write(STEPPER);
Serial.write(21); //21 bits used for number of steps
}
Serial.write(127);
}
Expand Down
Empty file modified firmware/AdvancedFirmata/FirmataStepper.cpp
100644 → 100755
Empty file.
Empty file modified firmware/AdvancedFirmata/FirmataStepper.h
100644 → 100755
Empty file.
Empty file modified firmware/AdvancedFirmata/README.md
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/io/Stepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ BO.io.Stepper = (function () {
* @param {IOBoard} board A reference to the IOBoard instance that the
* stepper is attached to.
* @param {Number} driverType. The type of driver (`Stepper.DRIVER`,
* `Stepper.DRIVER_HIGH_CURRENT, `Stepper.TWO_WIRE`, or
* `Stepper.DRIVER_HIGH_CURRENT`, `Stepper.TWO_WIRE`, or
* `Stepper.FOUR_WIRE`).
* @param {Number} numStepsPerRev The number of steps to make 1 revolution.
* @param {Pin} directionPin If dirver interface, the pin used to control
Expand Down

0 comments on commit 17ddd94

Please sign in to comment.