Control through the rs232 port

HI People, I am very new with the Processing software. I'm trying to fire some parts of a program with commands through the rs232 port on the computer from a third party device. Is that possible? Something like execute line 5, then execute line 9. All these triggered by some other device command. If I can have some examples, that would be very helpful.

Thanks...

Answers

  • Hello there Carlos, if you look in the File > Examples > Libraries > Serial ,you can find some good information on the serial commands in processing. In the processing code you can put a ' if ' that reads the serial port and then runs what is inside the ' if '.

    Hope this helps, RywesTech

    www.rywestech.com

Sign In or Register to comment.