Serial/RTX librairy less verbose?
in
Core Library Questions
•
2 years ago
Hello,
i'm newb in processing,
i'm working with RFID reader and Arduino, and i use Processing to listen usbPort and make a socket to talk to an adobe AIR app.
i'm using in AIR a nativeProcess instruction in my AIR app to launch the app export from Processing code.
in the AIR code, i'm able to received an output from the launched app.
in my processing code, if print "INIT" before the instanciation of Serial, i received the "init" output from ProcessingApp in AIR, but if i put the println after Serial instanciation, i received nothing.
i suppose that the first line traced is used as an output from the app (not sure i'm clear, sorry for my english)
So, is there a way to switchoff the verbose mode on the RTX init ?
these 4 lines about stable version
eric
i'm newb in processing,
i'm working with RFID reader and Arduino, and i use Processing to listen usbPort and make a socket to talk to an adobe AIR app.
i'm using in AIR a nativeProcess instruction in my AIR app to launch the app export from Processing code.
in the AIR code, i'm able to received an output from the launched app.
in my processing code, if print "INIT" before the instanciation of Serial, i received the "init" output from ProcessingApp in AIR, but if i put the println after Serial instanciation, i received nothing.
- lines = loadStrings("init.txt");
println("INIT");
Boolean flag = false;
// init du socket avec Flash
socket = new Server( this, 10001 ); - usbPort = Serial.list()[0];
port = new Serial(this, usbPort, 9600);
port.bufferUntil('\n');
port.write(65);
socket.write("Xbee");
socket.write( zero );
println("FOUND_XBEE");
i suppose that the first line traced is used as an output from the app (not sure i'm clear, sorry for my english)
So, is there a way to switchoff the verbose mode on the RTX init ?
these 4 lines about stable version
regardsINIT
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
FOUND_XBEE
eric
1