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 / usb interfacing

Author
Message
marco flash
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location:
Posted: 28th Jul 2005 03:32
does anyone know any dlls that allow u to control usb ports or any tutorials on using dark basic pro for interfacing with usb ports

i am the monkey and you cant stop me
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 30th Jul 2005 01:04
DBpro doesn't interact with 'ports'. Rather it interacts with devices: Ex: a joystick or a drive. If you're looking into reading/writing to a portable USB drive, it should come up as one of the drives in 'PERFORM CHECKLIST FOR DRIVES'. Input devices, such as joysticks, can be used through the [INPUT] command set.

-Xol

marco flash
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location:
Posted: 30th Jul 2005 05:00
thanks but its not input devices or anything like that im after im just getting into robotics and thought it would be easier if i could make control programs in darkbasic pro. so id need something that can send instructions to a oopic microcontroller or similar device.

i am the monkey and you cant stop me
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 30th Jul 2005 06:49
Couldn't you send commands via COM1? Many computers don't even use that port anymore for mice. It shouldn't be hard to hook your robot to a serial port. I'm not sure if this will really work or not.

Cryptoman
21
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 30th Jul 2005 07:00
You can access USB through a dll. Not natively through Pro though. I'll see what my research of my hard drive will bring up as I was doing some USB work, some time ago.


Cryptoman
21
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 30th Jul 2005 20:01
It seems that I deleted all my WDM projects all together. Sorry I couldn't help.


Firesea
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location:
Posted: 31st Jul 2005 05:48
Try this one

http://forum.thegamecreators.com/xt/view_code.php?i=6058

Login to post a reply

Server time is: 2024-11-27 20:38:36
Your offset time is: 2024-11-27 20:38:36