Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Serial port communications

Author
Message
Grant
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 27th Nov 2003 06:05
Just starting with programming...I am interested in sending and receiving commands to a device on the serial port for use as a game controller. I see there is support for null modem (serial port)games but it appears that there has to be a "netgame session" setup first.
Can you send commands to the serial port without a netgame being created. Anyhelp would be greatly appreciated. Also, does anyone know what kindof signal goes out to the joystick when a forcefeedback effect is sent.
mr2560
20
Years of Service
User Offline
Joined: 30th Nov 2003
Location:
Posted: 30th Nov 2003 23:15
I second that question.
I want absolute control over the serial port.
Maybe QBASIC commands (OPEN COM) might work?

Forcefeedback is a midi command. Midi signals are 1-way serial 20 milliamp (not 12 volts!!!) 32500 baud codes. I don't know what codes are used.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 30th Nov 2003 23:29
make/get a dll that wraps mscomm dll from windows, then do whatever you like with com ports.

-RUST-
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 30th Nov 2003 23:32
I've got a serial port plug-in. I think it works - cant test it myself.


Mirrors are more fun than television. Well, that was fun, in a not-so-fun sort of way...
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 1st Dec 2003 18:58
I third that question.
-
mr2560 ~ does that name come from a university room number?

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard

Login to post a reply

Server time is: 2024-11-25 18:33:50
Your offset time is: 2024-11-25 18:33:50