View Single Post
  #3   Spotlight this post!  
Unread 09-02-2015, 07:42
apm4242 apm4242 is offline
Registered User
FRC #4242
 
Join Date: Jan 2013
Location: United States
Posts: 83
apm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud of
Re: Help Coding a "Creep Mode"

Quote:
Originally Posted by Alan Anderson View Post
Does "Button 9" mean the ninth button counting from 1, or counting from zero? Don't forget that the first button is at array index 0, so the ninth button is actually at index 8. You can set a probe on the Buttons array to verify which one you need to be reading.
Thanks for the quick reply! I used the mapping that's been floating around CD: http://www.chiefdelphi.com/forums/sh...73&postcount=2

However, now I found a map saying the left joystick is button 8, not 9... Odd that it's from the same source.



The 9th light comes on in the dashboard when I press it but I'll go back to the simulator and try button 8. Is there anything wrong with the code?

Last edited by apm4242 : 09-02-2015 at 07:46. Reason: New stuff has come to light, man
Reply With Quote