View Single Post
  #3   Spotlight this post!  
Unread 17-01-2008, 23:42
mormannoob's Avatar
mormannoob mormannoob is offline
President and Senior Programmer
AKA: Clinton
FRC #0498 (Cobra Commanders)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Glendale,AZ
Posts: 93
mormannoob is on a distinguished road
Re: printf() syntax and parameters

Quote:
Originally Posted by compwiz2008 View Post
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?
why dont you try ifi dashboard
http://www.ifirobotics.com/dashboard_viewer.shtml

you plug your OI to your computuer's serial port and it displays a lot of different inputs such as joysticks,buttons,etc
__________________
Why cant code work the first time

Wait I have to lead programmers thats like asking a kid who doesnt know how to ride a bike to lead a group of guys at the tour de france