Libraries
\ FirmataProcessing
Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name |
Wiring |
Examples |
import processing.serial.*;
import Wiring.*;
Wiring wiring;
void setup() {
println(Wiring.list());
wiring = new Wiring ( this, Wiring.list()[1], 57600);
wiring.pinMode(48, Wiring.OUTPUT);
}
void draw() {
}
|
Description |
The method Wiring() creates the Wiring object, wich starts the Firmata communication. Note: The firmata protocol have a minimum rate of 57600 bauds. |
Syntax |
Wiring(parent, name, rate)
|
Methods |
|
Parameters |
parent |
El parent should be "this". |
name |
The name of the device. |
rate |
The rate of the connection. For the Firmata Protocol the rate is 56700 bauds. |
|
Returns |
None |
Usage |
Application |
Updated on July 07, 2011 11:10:08pm PDT