We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › serial "sendBreak"
Page Index Toggle Pages: 1
serial "sendBreak" (Read 552 times)
serial "sendBreak"
Jan 4th, 2007, 6:43pm
 
Hello to all (this is my first post Smiley),
I am using processing and the serial library to program an old mechanical display. Before sending any data string to the controller i must send a "break" of 200ms...
i found this Java command:
http://java.sun.com/products/javacomm/reference/api/javax/comm/SerialPort.html#sendBreak(int)

is there a way to use this in processing?
many thanks
Re: serial "sendBreak"
Reply #1 - Jan 4th, 2007, 8:38pm
 
if you have an object "Serial s", then s.port.sendBreak(300) should do the trick.
Re: serial "sendBreak"
Reply #2 - Jan 4th, 2007, 9:07pm
 
oh, so easy...
im disconnected from the display right now (in fact it is 300km away from home) but i let you know!
many thanks.
Page Index Toggle Pages: 1