|
Author |
Topic: beginSerial(9600, COM7); ??? (Read 490 times) |
|
mKoser
|
beginSerial(9600, COM7); ???
« on: Aug 23rd, 2003, 1:39am » |
|
How about adding another parameter to the beginSerial() that lets you choose what COM-port to use? the syntax could be something like: beginSerial(9600, COM7); or: beginSerial(COM7); depending on if you also want to set the communication speed!
|
mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
|
|
|
fry
|
Re: beginSerial(9600, COM7); ???
« Reply #1 on: Aug 23rd, 2003, 7:32pm » |
|
currently you can do it with beginSerial("COM7", 9600, 'N', 8, 1); but i think you're right, and that it's so rare for people to change the N/8/1, that i've added: beginSerial(String port) and beginSerial(String port, int rate) as you suggest.
|
|
|
|
fry
|
Re: beginSerial(9600, COM7); ???
« Reply #2 on: Sep 1st, 2003, 2:35am » |
|
implemented fully in rev 59.
|
|
|
|
|