switch to ground

Moderator: Benj

Post Reply
donald
Posts: 74
Joined: Tue Feb 14, 2012 5:17 pm
Been thanked: 3 times

switch to ground

Post by donald »

Hello to all.
How do light up an led shutting circuit from uC at ground?
When the button is pressed to be ignited led.
Thank you in advance!
Attachments
switch to ground.fcf
(12 KiB) Downloaded 265 times
sch.png
(12.51 KiB) Downloaded 1562 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: switch to ground

Post by Benj »

Hello,

Here is a quick program that will do what you want. I have basically done the same program twice, the first loop I used the switch and LED components via component macros and in the second loop I used I/O icons.
Attachments
SW_LED.fcf
(13 KiB) Downloaded 280 times

donald
Posts: 74
Joined: Tue Feb 14, 2012 5:17 pm
Been thanked: 3 times

Re: switch to ground

Post by donald »

Good evening Benj,
Thank you very, very much, works great, thank you once again.

Post Reply