View Single Post
  #2   Spotlight this post!  
Unread 07-02-2013, 08:35
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,113
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: Relay and window motor

Quote:
Originally Posted by d4v4 View Post
But I constantly get broken wires when I try to make Forward/Reverse or change relays name as you can see on screenshots :/
Even the one with the unbroken wire is telling you something is wrong. That red dot on the function input says there's a mismatch between the type of value you're giving it and what it expects.

To fix them, delete the enum constant (the name in the blue rectangle with the various little triangles around it) and the broken wires. Then right-click on the terminal you want to connect it to and choose Create >> Constant from the menu. Now you can change the constant to whatever value is appropriate for the code.
Reply With Quote