File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
java/libraries/serial/examples Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ void setup() {
3333 ypos = height / 2 ;
3434
3535 // Print a list of the serial ports, for debugging purposes:
36- println (Serial . list());
36+ printArray (Serial . list());
3737
3838 // I know that the first port in the serial list on my mac
3939 // 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() {
2222 textFont (myFont);
2323
2424 // List all the available serial ports:
25- println (Serial . list());
25+ printArray (Serial . list());
2626
2727 // I know that the first port in the serial list on my mac
2828 // 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
1313void setup () {
1414 size (400 , 300 );
1515 // print a list of the serial ports:
16- println (Serial . list());
16+ printArray (Serial . list());
1717 // On my machine, the first and third ports in the list
1818 // were the serial ports that my microcontrollers were
1919 // attached to.
You can’t perform that action at this time.
0 commit comments