View Single Post
  #14   Report Post  
Posted to uk.comp.homebuilt,uk.d-i-y
The Nomad[_3_] The Nomad[_3_] is offline
external usenet poster
 
Posts: 106
Default Dual colour power LEDs on PCs

On Sat, 24 Mar 2018 13:33:13 +0000, Andy Burns
wrote:

Adrian Caspersz wrote:

it's a 2-pin. LED is driven across the outputs.


5v ---+----+
| |
R R | |
| |
pin 2------+-----.
| | | LED | |
pin 4 +----------'


The manual does indeed say each pin has a pull-up resistor, and I would
expect it to pull down one pin or the other depending which colour it
want to show.

But why would the LED show one colour when on, but _not_ the other
colour when off? Given that both colours work, depending on which way
round I connect it ...


2 PWR_P/SLP_N
4 PWR_N/SLP_P

Power on - one colour
Sleep - other colour
Off - no power so no led at all

?

Avpx



--
A good bookshop is just a genteel Black Hole that knows how to
read.
(Guards! Guards!)
14:05:01 up 16 days, 5:29, 11 users, load average: 0.74, 0.76, 0.75