PDA

View Full Version : Serial Port Programming Tutorials?



Burke
January 6th, 2006, 04:20 AM
I'm trying to make a remote that I can use for XMMS through the serial port (it will have 4 buttons -- rew, play, stop, fwd). Can anybody recommend a good resource to learn serial port programming (preferably in C/C++)?

Thank you.

ekarni
January 6th, 2006, 06:36 AM
http://www.lvr.com/serport.htm

nagilum
January 8th, 2006, 04:14 PM
I found this one very helpful when I played around with the serial port, not sure if it's referenced from the site ekarni posted:
http://www.easysw.com/~mike/serial/serial.html

Burke
January 15th, 2006, 04:51 AM
Thank you both very much. I ended up using some existing code, so I didn't use quite as much of what I've learned as I expected, but I now have a fully functioning XMMS controller on my desk. This thing is so cool :)


So with that done, now I have a much smaller and simpler task... how can I make this program run when I log in? It can't be run as root, it has to run under my account. There must be some menu to do this easily?

EDIT: No, sorry... I found it. System->Preferences->Sessions->Startup Programs