processing program from bluetooth vs usb
in
Integration and Hardware
•
2 years ago
hi, i need help for program in processing.
first, if i use the usb to connect the lilypad arduino and processing, i can print the x, y and z values in the processing, and from the program, i choose "myPort = new Serial(this, Serial.list()[0], 9600)", then on the monitor i can see such as
x=500, y=400, z=600. second, if the port change via bluetooth, i correct the
Serial.list()[0] to
Serial.list()[6], the port [6] is like below, and i think the lilypad arduino can transport values from bluetooth to computer, and i do not correct others, besides the
Serial.list()[6], but
why can't i print the values in the monitor via bluetooth? this is a big problem for me, who can help me, please and thanks very much!
the
ative lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[0] "/dev/tty.Bluetooth-PDA-Sync"
[1] "/dev/cu.Bluetooth-PDA-Sync"
[2] "/dev/tty.Bluetooth-Modem"
[3] "/dev/cu.Bluetooth-Modem"
[4] "/dev/tty.UseriPhone-WirelessiAP"
[5] "/dev/cu.UseriPhone-WirelessiAP"
[6] "/dev/tty.FireFly-275B-SPP"
[7] "/dev/cu.FireFly-275B-SPP"
1