Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
techniken:datenaustausch:ardupar [2014/06/04 14:45] fbonowski [Installation] |
techniken:datenaustausch:ardupar [2016/01/21 12:45] (aktuell) |
||
---|---|---|---|
Zeile 58: | Zeile 58: | ||
String portName = Serial.list()[Serial.list().length-1]; | String portName = Serial.list()[Serial.list().length-1]; | ||
myPort = new Serial(this, portName, 115200); //open a connection with 115200Baud - this has to match the Baudrate in your Arduino sketch! | myPort = new Serial(this, portName, 115200); //open a connection with 115200Baud - this has to match the Baudrate in your Arduino sketch! | ||
- | frameRate(10); | + | frameRate(10); //the draw() function will run 10 times a second |
} | } | ||