Serial: Switch the examples over to printArray()

This commit is contained in:
gohai
2013-11-19 17:22:13 -08:00
parent 95bac1d04c
commit 0ef72e25c9
3 changed files with 3 additions and 3 deletions

View File

@@ -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.