Skip to main content
8 events
when toggle format what by license comment
Aug 3, 2022 at 7:31 history edited ocrdu CC BY-SA 4.0
added 3 characters in body
Nov 25, 2020 at 13:59 comment added ocrdu @NStorm: That's another feature; it doubles as a power-on indicator. But seriously, I don't think turning off both LEDs and have independent currents while power is on is doable with one IO pin without extra components. Easy with two IO pins, though.
Nov 25, 2020 at 9:47 comment added NStorm But you can't turn off both LEDs with this solutions without removing power.
Nov 24, 2020 at 19:23 comment added Hearth @BeB00 That could be considered a feature! Set the pin to input if you want to turn on both LEDs.
Nov 23, 2020 at 21:39 comment added ocrdu @BeB00: Yes, if the IO pin goes high impedance about 5mA will flow through both LEDs for the LEDs I assumed in the example.
Nov 23, 2020 at 21:32 comment added BeB00 Note that in this scenario, there are situations where both LEDs will turn on (if the microcontroller is reset, for example)
Nov 23, 2020 at 20:09 history edited ocrdu CC BY-SA 4.0
added 195 characters in body
Nov 23, 2020 at 19:44 history answered ocrdu CC BY-SA 4.0