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.
| Class | Wiring |
|---|---|
| Name | list() |
| Examples | //Import the Serial i/o and the Wiring Libraries import processing.serial.*; import Wiring.*; //Create a Wiring object Wiring wiring; void setup() { //print the serial devices list println(Wiring.list()); //inicialized the wiring object wiring = new Wiring ( this, Wiring.list()[1], 57600); //sets the pinMode wiring.pinMode(48,Wiring.OUTPUT); } void draw() { //......... } |
| Description | The list() method prints in the Processing console a list of all available serial port, use println() to acces to this information. |
| Syntax | Wiring.list() |
| Returns | None |
| Usage | Application |

