Go to Post And the rest of the team helped them, encouraged them, and made a big deal about how awesome it was that we were competing for the Chairman's Award. - Carolyn_Grace [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-06-2013, 23:00
tyler34 tyler34 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Michigan
Posts: 11
tyler34 is an unknown quantity at this point
Trouble with limit switches

So basically we can't get a change in value when the limit switch is pressed.

We have one end of the limit switch wired to signal and the other to ground on the Digital Inputs on the Digital Sidecar.

We are using Java for our programming.
Heres the code pulled out from robotInit and teleopPeridodic:
Code:
private DigitalInput limit; 
limit = new DigitalInput(1);        
System.out.println("ingest switch: " + limit.get());
We tried connecting the ground a signal wires together without the limit switch, tried different cables, and different ports. Nothing seems to work.

If someone has any idea on what to try it would be helpful.
We are gonna try a new digital sidecar tomorrow and see if that works.
 


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 02: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