I currently in developing a stand alone system of video projection, the system must starting up and shutdown alone everyday during one month, that is why I would like to send RS232 commands to the video projector, for start and shutdown it, via P5.
In this document, we can view all the RS232 commands for my video projector, but when I try to send it with P5, via a usb/serial adapter, nothing happend...
This is my P5 code:
RS232 = new Serial(this, "/dev/tty.usbserial", 115200);
if (key == '1')
println("Send power on message");
else if (key == '2')
println("Send power off message");
Maybe the commands sent are not correctly formatted?
I using the KeystoneP5 and ControlP5 library for Processing,
When I draw ControlP5 object in the window and run the program in present mode, no problem, I can do what I want with controls and keystones. When I want to draw ControlP5 object in a separate window ( control window build with controlP5), and run the program in present mode, I can't switch between the main window and my control window, it's normal because the present mode must do it... I have tried to do this by the fullscree API for Processing but it don't works with OpenGL and crash KeystoneP5...
I have recently discovery the library project Artnet4J. I'm very interested by this, to get Artnet values in Processing, but this project is also in pre-alpha stage. Sources are available in the project site, but I don't know how I can install this in Processing.
Does anyone have solution, tutorial, or anything that can help me to do this?