![]() |
| | #1 |
| Guest
Posts: n/a
| Need help or info about serial port communication I have to port some C code from windows to linux, this code will comunicate with a filter wheel on the serial port( this a simple step motor that moves the wheel around, to differant positions and has a home position.) I do not know how to do this, so some information on how I would go about this would be helpful. The windows source code was written in C. It first sets the device(number of filters,steps etc...) Opens the port Gets the port config Has 2 functions to write and read data to the port Closes the port Sets the filterposition and has a stepmotor function Any help from similiar serial port projects or code that I could view that would help with these 6 tasks would be most helpful. thanks a lot. David Walker |
|
| | #2 |
| and the hat of vanishing Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,214
| This should get you started http://www.ibiblio.org/mdw/HOWTO/Serial-HOWTO.html |
| Salem is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duplex communication thro serial port | Priyachu | Networking/Device Communication | 1 | 05-30-2009 04:24 AM |
| Duplex communication thro serial port | Priyachu | Linux Programming | 1 | 05-30-2009 04:03 AM |
| Serial port Communication | vin_pll | C++ Programming | 23 | 01-07-2009 09:32 AM |
| Serial Port Communication | maxorator | C++ Programming | 11 | 04-27-2006 03:13 PM |
| DOS, Serial, and Touch Screen | jon_nc17 | A Brief History of Cprogramming.com | 0 | 01-08-2003 04:59 PM |