View Single Post
  #2   Spotlight this post!  
Unread 23-02-2012, 14:46
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: Buttons on Dashboard (please help)

The robot can't read the Dashboard directly, but the Dashboard can send data to the robot. You'll have to open a UDP (or TCP) socket on the robot, and send to that socket from the Dashboard program.

It might be easier to use the Cypress PsoC I/O that the Driver Station and WPIlib routines already support. You don't have to have a physical switch; the I/O tab on the Driver Station gives you access to an array of emulated on/off switches and analog values.
Reply With Quote