Previous in Forum: "Rainbow" Colours in Visual Basic   Next in Forum: Windows 7 Home Premuim Wants to Join a Domain
Close
Close
Close
6 comments
Rate Comments: Nested
Commentator

Join Date: Dec 2009
Location: Coffeyville, KS
Posts: 59

PWM, Joysticks and Visual Basic

11/04/2010 6:28 PM

Has anyone done any VB programming that used a joystick or a pwm module?

Looking to write a Pan Tilt Zoom application for a camera. Any help appreciated.

Thanks,

__________________
Regards, Pete Olsen
Register to Reply
Pathfinder Tags: JOY Joystick PAN PWM stick TILT VB ZOOM
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Popular Science - Cosmology - New Member Engineering Fields - Civil Engineering - New Member Engineering Fields - Nuclear Engineering - New Member United States - Member - New Member

Join Date: Aug 2010
Posts: 714
Good Answers: 38
#1

Re: PWM, Joysticks and Visual Basic

11/05/2010 10:18 AM

I did a quick search and came up with the following link. On the page is a description and the link to download "joystick.exe" which has what you need including sample code.

http://vbcity.com/forums/t/1377.aspx

SUMMARY
Joystick.exe is a self-extracting compressed file containing a sample project that demonstrates how to use the Joystick API functions in Visual Basic. You can use this sample as a starting point for a game program that uses a joystick for an input device.

__________________
Sometimes my thoughts are in a degree of order so high even I don't get it...
Register to Reply
Member

Join Date: Nov 2010
Posts: 5
#2

Re: PWM, Joysticks and Visual Basic

11/06/2010 12:30 AM

If you are trying to use a joystick you are doing an input to a computer and a PWM might be an output and can be done with an external interfase. In order to help you please let me know if my appreciation is correct. Regards.

Register to Reply
Anonymous Poster
#5
In reply to #2

Re: PWM, Joysticks and Visual Basic

11/06/2010 2:28 PM

You are correct.

I have already done this with an Atmega 128 chip and now I want to do the same with a PC laptop, preferably with a touch screen so that I can pre-program functions into the touch screen or operate the pwm with a joystick if used that way. My project is pretty much like a security camera console, only windows based and preferably visual basic programming since I already know that language.

Pete...

Register to Reply
Anonymous Poster
#6
In reply to #5

Re: PWM, Joysticks and Visual Basic

11/06/2010 2:31 PM

FYI, there already is available a USB PWM device, is just was not sure of how to access a joystick. Looks like there are API calls already done in a DLL.

Register to Reply
Power-User

Join Date: Dec 2009
Location: Hannover, Germany and Jacksonville, Florida
Posts: 141
Good Answers: 8
#3

Re: PWM, Joysticks and Visual Basic

11/06/2010 1:48 AM
__________________
Johannes
Register to Reply
Anonymous Poster
#4
In reply to #3

Re: PWM, Joysticks and Visual Basic

11/06/2010 2:25 PM

The mabry link was dead, but the other two were useful.

Thanks...

Register to Reply
Register to Reply 6 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (3); ChaoticIntellect (1); Johannescnc (1); Maolca (1)

Previous in Forum: "Rainbow" Colours in Visual Basic   Next in Forum: Windows 7 Home Premuim Wants to Join a Domain

Advertisement