Joystick
Ezsynn
Posts: 119
I'm trying to make a joystick controller with a Memsic 2125 tilt sensor. How do you make a joy stick?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BWIN ON DA POWAH WIFIN U!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BWIN ON DA POWAH WIFIN U!!!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BWIN ON DA POWAH WIFIN U!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BWIN ON DA POWAH WIFIN U!!!
Just use:
' {$STAMP BS2}
' {$PBASIC 2.5}
X··· VAR·· Word
HIGH 0
PAUSE 1
RCTIME 0,1,X
X will give you the time in miliseconds needed to charge/discharge the capacitor, then set this varible equal to the nuetral point of the joystick. (+/- some)· There is a Nuts and Volts article (# 15) that helps explain the use of this command better.
P.S. I'm new to using the forum, but I have been programming for a while.· I apoligize·if I·insulted anyone with this.
Philip D.