Arduino-Bluetooch-Processing-help
in
Integration and Hardware
•
11 months ago
HELLO, I'M TRYING TO COMMUNICATE WITH ARDUINO PROCESSING BY bluetooch.
BUT ... when I do a putty.exe, communication is established normally.
BUT WHEN I DO THE SAME WITH THE PROCESSING, THE PORT OF bluetooch DISAPPEARS. What is happening?
import processing.serial.*;
Serial myPort; // Create object from Serial class
int val; // Data received from the serial port
void setup()
{
size(200, 200);
// I know that the first port in the serial list on my mac
// is always my FTDI adaptor, so I open Serial.list()[0].
// On Windows machines, this generally opens COM1.
// Open whatever port is the one you're using.
// String portName = Serial.list()[0];
// myPort = new Serial(this, portName, 9600);
println(Serial.list());
}
BUT ... when I do a putty.exe, communication is established normally.
BUT WHEN I DO THE SAME WITH THE PROCESSING, THE PORT OF bluetooch DISAPPEARS. What is happening?
import processing.serial.*;
Serial myPort; // Create object from Serial class
int val; // Data received from the serial port
void setup()
{
size(200, 200);
// I know that the first port in the serial list on my mac
// is always my FTDI adaptor, so I open Serial.list()[0].
// On Windows machines, this generally opens COM1.
// Open whatever port is the one you're using.
// String portName = Serial.list()[0];
// myPort = new Serial(this, portName, 9600);
println(Serial.list());
}
1