Go to Post dang. I wish my legs were as good as Dave's. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-04-2014, 00:55
JackOfAllTrade5's Avatar
JackOfAllTrade5 JackOfAllTrade5 is offline
Captain
AKA: Austin
FRC #3673 (C.Y.B.O.R.G. SEAGULLS)
Team Role: Engineer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 8
JackOfAllTrade5 is an unknown quantity at this point
Exclamation Urgent!! Spike Relay Help!

We have a demo tomorrow and my mechanic lead wants to put a tee shirt cannon on one of our robots. He wants to bypass the button on the cannon with a spike relay but I have no idea how to program it and I can't find what I need! I have no idea what I'm doing here.... PLEASE HELP ME!
Reply With Quote
  #2   Spotlight this post!  
Unread 30-04-2014, 08:47
tech2077 tech2077 is offline
Registered User
AKA: Matthew Skolaut
FRC #3847 (Spectrum 3847)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Houston
Posts: 21
tech2077 is an unknown quantity at this point
Re: Urgent!! Spike Relay Help!

Use the Relay class, and for the state, use Relay.Value.kForward for on, and Relay.Value.kOff for off.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi