Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Cyprus (http://www.chiefdelphi.com/forums/showthread.php?t=91000)

Alyssa Reiman 05-02-2011 13:39

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.

Joe Ross 05-02-2011 21:55

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.

Nerd_Skywalker 06-02-2011 13:08

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.

WizenedEE 06-02-2011 16:58

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.

Nerd_Skywalker 07-02-2011 18:18

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...

JamesBrown 08-02-2011 08:42

Re: Cyprus
 
Quote:

Originally Posted by Nerd_Skywalker (Post 1017878)
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.


All times are GMT -5. The time now is 10:08.

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