mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
Serial: Switch the examples over to printArray()
This commit is contained in:
@@ -13,7 +13,7 @@ int[] dataIn = new int[2]; // a list to hold data from the serial ports
|
||||
void setup() {
|
||||
size(400, 300);
|
||||
// print a list of the serial ports:
|
||||
println(Serial.list());
|
||||
printArray(Serial.list());
|
||||
// On my machine, the first and third ports in the list
|
||||
// were the serial ports that my microcontrollers were
|
||||
// attached to.
|
||||
|
||||
Reference in New Issue
Block a user