Probably too simple to think about, but I would like to see if this is possible:
I want to have a simple red led, connected to the breadboard that switches on or off on a certain pimatic condition.
How should I wire it and how can I control it ??
[solved]Simple LED direct on GPIO
Probably too simple to think about, but I would like to see if this is possible:
I want to have a simple red led, connected to the breadboard that switches on or off on a certain pimatic condition.
How should I wire it and how can I control it ??
@vanturenhout said in Simple LED direct on GPIO:
How should I wire it and how can I control it ??
You can use a GpioSwitch which is part of pimatic-gpio. A wiring example can be found as part of onoff which is the base driver used for pimatic-gpio - https://github.com/fivdi/onoff
EDIT: In the example a 470 Ohms (5% tolerance) 0.25W resistor is used.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
Woohoo. Works, So now I can go on and ask new questions…will Spam the forum for that
@vanturenhout said in [solved]Simple LED direct on GPIO:
So now I can go on and ask new questions
No worries, you’re not spamming! It is absolutely sensible to ask this kind of questions. Maybe you can write short how-to articles on your findings to help other users. This would be great.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
@mwittig Will do.