View Full Version : dusting off the prop
04-01-2009, 08:58 PM
Hey guys, its been a while since i have had free time to work on a project and there is a lot i cant remember. My current problem is that i would like to output to a USB port, and i can not remember how to do this.. it sounds like it may be somewhat simple. I was wondering if there is a way to output to the prop plug that is used for programming the prop.. here should be a USB controller on there and if i can output and then write a program to monitor the port then i would be set.. i remember doing serial ports but i can not remember if i have done USB yet. Any leads or reminders would be appreciated!
04-01-2009, 09:22 PM
The Prop plug pretends to be a serial port. Easy as it gets.
On my system I simply open /dev/ttyUSB0 and talk to it same as I would a serial port. I have the propeller talk on pins 31 and 30 and it's all good.
Cardinal Fang! Fetch the comfy chair.
04-01-2009, 09:23 PM
FullDuplexSerial.spin included in the Prop tool can be used to send and receive from USB prop plug. Just start Hyperterminal or the terminal program written by Parallax to connect. The Parallax tool is of course better because it closes connection as soon as you leave the window to allow the Propeller Tool re-programming.
' ^ ^ please double check the order of the pins - I'm not sure if I remember it right without looking in the docs
04-01-2009, 09:39 PM
oh yah! i remember now! I forgot! the debug terminal for the prop! how else would I have used it.. it was a somewhat simple question to answer but I appreciate the help.. it has been a while and i have lost my old project files due to hard drive failure a year ago http://forums.parallax.com/images/smilies/cry.gif but im ready to start new! Thank you.