View Single Post
  #5   Spotlight this post!  
Unread 01-02-2006, 07:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Joystick Ports as Duplex Data Port

Quote:
Originally Posted by zachriggle
...for debugging purposes...
Yes, the Dashboard port is probably what you want to use.

But if you want simple debugging without the need for a computer, you can send a single number to the numeric display on the OI. See the very end of the Default_Routine() in the default code, where it formats the backup battery voltage to be displayed as the User Byte. Last year, I used one of the joystick wheels to select among several feedback values as diagnostic display.