Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   LED Outputs on cypress (http://www.chiefdelphi.com/forums/showthread.php?t=84538)

KRibordy 22-03-2010 17:55

LED Outputs on cypress
 
We'd like to have an LED output on the cypress to let us know when the kicker is wound. We have the software setting digital output to 1 when the kicker is wound up, but I don't know how to connect the LED to the cypress to allow it to turn on when the digital output is on. Would we connect the LED to the digital output 1 pin and power? or the output pin and ground?


Thanks in advance!

Zme 25-03-2010 10:33

Re: LED Outputs on cypress
 
my thought would be digital output to ground since the digital output, when true, would "give out" power, make sure that the led is in there the right way though,

eugenebrooks 25-03-2010 22:07

Re: LED Outputs on cypress
 
Generally, you want to use the digital output to sink current
through the LED which is hooked to the supply rail on the
Cypress through a resistor used to limit the current. You
turn the led on by sending zero to the output.

Eugene


All times are GMT -5. The time now is 23:28.

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