N
Nick
- Jan 1, 1970
- 0
I have a bicolor led switch that I would like to control with 2
different output lines from a PIC that I'm using. I'm having trouble
figuring out the circuit.
The switch is:
http://www.citrelay.com/Catalog pages/Switches/JC Series Catalog.pdf
SPDT Red & Green
Their datasheet (linked above) shows the LEDs circuit to be:
--->|---0 LED1
|
0---|
|
--->|---0 LED2
So, I figure I want a 180 Ohm R between + and the single leg, the other
2 need to be pulled to ground.
I did not look at the datasheet close enough when I ordered this part
and planned the circuit in my head. I thought it was the opposite,
where there were 2 feeds to the forward side and 1 pull to ground.
I guess I need a circuit that looks like:
--->|---0 -- ??? --- PIC Out1
|
+5V 0---|
|
--->|---0 -- ??? --- PIC Out2
What is the blackmagic I can use to pull an active high output to
ground?
different output lines from a PIC that I'm using. I'm having trouble
figuring out the circuit.
The switch is:
http://www.citrelay.com/Catalog pages/Switches/JC Series Catalog.pdf
SPDT Red & Green
Their datasheet (linked above) shows the LEDs circuit to be:
--->|---0 LED1
|
0---|
|
--->|---0 LED2
So, I figure I want a 180 Ohm R between + and the single leg, the other
2 need to be pulled to ground.
I did not look at the datasheet close enough when I ordered this part
and planned the circuit in my head. I thought it was the opposite,
where there were 2 feeds to the forward side and 1 pull to ground.
I guess I need a circuit that looks like:
--->|---0 -- ??? --- PIC Out1
|
+5V 0---|
|
--->|---0 -- ??? --- PIC Out2
What is the blackmagic I can use to pull an active high output to
ground?