We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Serial.list() help (Read 890 times)
Serial.list() help
Feb 24th, 2008, 2:53am
 
Hello, I'm kind of a beginner here although I've worked with aurdino once before... I'm trying to get processing to read the avalable usb ports, and whats plugged into them, but when I use serial.list(), it only shows me:

[0] "/dev/tty.Bluetooth-PDA-Sync"
[1] "/dev/cu.Bluetooth-PDA-Sync"
[2] "/dev/tty.NateB-Dial-upnetworking-1"
[3] "/dev/cu.NateB-Dial-upnetworking-1"
[4] "/dev/tty.Bluetooth-Modem"
[5] "/dev/cu.Bluetooth-Modem"

None of these are my USB port.

Any help?
Re: Serial.list() help
Reply #1 - Feb 27th, 2008, 10:21pm
 
which platform are you running P5 on? win/osx/lin?
Re: Serial.list() help
Reply #2 - Feb 28th, 2008, 5:09pm
 
it's a serial library, not a usb library. you can't talk to usb devices unless they pretend they're a serial port (like the bluetooth examples in your list, ferinstance).
Re: Serial.list() help
Reply #3 - Feb 28th, 2008, 5:59pm
 
i take it you're trying to get Processing to see your arduino?

sounds like maybe you haven't installed the arduino drivers yet...? there's usually a folder inside the Arduino folder called "drivers" -- you might need to install these first.

*or* perhaps the arduino isn't plugged in yet? if it's not, then it won't show up on the list.
Page Index Toggle Pages: 1