FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   beginSerial(9600, COM7); ???
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: beginSerial(9600, COM7); ???  (Read 490 times)
mKoser

WWW Email
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


WWW
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


WWW
Re: beginSerial(9600, COM7); ???
« Reply #2 on: Sep 1st, 2003, 2:35am »

implemented fully in rev 59.
 
Pages: 1 

« Previous topic | Next topic »