View Single Post
  #1   Spotlight this post!  
Unread 17-01-2008, 23:06
compwiz2008's Avatar
compwiz2008 compwiz2008 is offline
Registered User
FRC #2139
 
Join Date: Nov 2007
Location: Las Vegas, Nevada
Posts: 11
compwiz2008 is an unknown quantity at this point
printf() syntax and parameters

I've been looking at using the printf() function to display joystick values, but I'm a little confused about the proper syntax and parameter usage to make the code work. I want to do the following:

Result text in IO:

X 126 Y 250 (Where 126 is the value of p1_x and 250 is the value of p1_y)

Could anyone enlighten me on this issue?