| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,7 @@ void setup() { | |||
| 33 | 33 | ypos = height/2; | |
| 34 | 34 | ||
| 35 | 35 | // Print a list of the serial ports, for debugging purposes: | |
| 36 | - println(Serial.list()); | ||
| 36 | + printArray(Serial.list()); | ||
| 37 | 37 | ||
| 38 | 38 | // I know that the first port in the serial list on my mac | |
| 39 | 39 | // is always my FTDI adaptor, so I open Serial.list()[0]. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ void setup() { | |||
| 22 | 22 | textFont(myFont); | |
| 23 | 23 | ||
| 24 | 24 | // List all the available serial ports: | |
| 25 | - println(Serial.list()); | ||
| 25 | + printArray(Serial.list()); | ||
| 26 | 26 | ||
| 27 | 27 | // I know that the first port in the serial list on my mac | |
| 28 | 28 | // is always my FTDI adaptor, so I open Serial.list()[0]. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ int[] dataIn = new int[2]; // a list to hold data from the serial ports | |||
| 13 | 13 | void setup() { | |
| 14 | 14 | size(400, 300); | |
| 15 | 15 | // print a list of the serial ports: | |
| 16 | - println(Serial.list()); | ||
| 16 | + printArray(Serial.list()); | ||
| 17 | 17 | // On my machine, the first and third ports in the list | |
| 18 | 18 | // were the serial ports that my microcontrollers were | |
| 19 | 19 | // attached to. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments