Go to Post I had a life before FIRST - I just can't remember what it was. - Tom Ore [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 05-02-2011, 13:39
Alyssa Reiman Alyssa Reiman is offline
Registered User
FRC #1111
 
Join Date: Oct 2010
Location: Maryland
Posts: 7
Alyssa Reiman is an unknown quantity at this point
Cyprus

My team is having some trouble with digtal output on the cyprus. We are trying to turn LEDs on and off, but we are not being sucessful with this.

If anyone has some useful advice, it would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2011, 21:55
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Cyprus

It's really hard to have ideas when we have no information to work with. You should describe both your wiring on the cypress side and your code on the robot side.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2011, 13:08
Nerd_Skywalker's Avatar
Nerd_Skywalker Nerd_Skywalker is offline
Walker of Skies
FRC #1111
Team Role: Animator
 
Join Date: Dec 2010
Rookie Year: 2008
Location: -Classified-
Posts: 42
Nerd_Skywalker is an unknown quantity at this point
Re: Cyprus

What we are asking for is some example code for using LEDs. We will be able to adjust the code to fit our wiring, but we have tried using all of the Digital Outs and none of them seem to work.

If anyone has any advice on using external LEDs with the Cypress, it will be greatly appreciated if you would post them.
__________________
Re-dun-dant adj. 1. See redundant
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2011, 16:58
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Cyprus

Attach it via USB to your classmate.

go to WPI library > driver staion > compatibility IO > Set Digital Output

Create constant on the input, an array comes up. Expand to have 8 booleans, and set them as you want. That should light up the LEDs on the Cypress and the external LEDs if you attached them with resistors.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2011, 18:18
Nerd_Skywalker's Avatar
Nerd_Skywalker Nerd_Skywalker is offline
Walker of Skies
FRC #1111
Team Role: Animator
 
Join Date: Dec 2010
Rookie Year: 2008
Location: -Classified-
Posts: 42
Nerd_Skywalker is an unknown quantity at this point
Re: Cyprus

The thing is, our Cypress is connected and we can get input from it...our LEDs just don't seem to change no matter what we do.

We made a program that went through each input and set it to its opposite value and nothing happened. We tried the code with the built-in LEDs and it worked though.

I guess it might be a wiring issue...
__________________
Re-dun-dant adj. 1. See redundant
Reply With Quote
  #6   Spotlight this post!  
Unread 08-02-2011, 08:42
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,276
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Cyprus

Quote:
Originally Posted by Nerd_Skywalker View Post
The thing is, our Cypress is connected and we can get input from it...our LEDs just don't seem to change no matter what we do.

We made a program that went through each input and set it to its opposite value and nothing happened. We tried the code with the built-in LEDs and it worked though.

I guess it might be a wiring issue...
Probable a wiring issue, as Joe said, show us how you wires it and show us your code and we can be much more helpful.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
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 10:08.

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