BUTTON AND LED

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Pask
Posts: 5
Joined: Mon Jul 05, 2010 11:04 am
Contact:

BUTTON AND LED

Post by Pask »

Hi.

How to create a project in Flowcode where a button, when pressed, turns on an LED in the Pic?

Thanks.

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: BUTTON AND LED

Post by Benj »

Hello,

This online resource should help to get you started with things like that.

http://www.matrixmultimedia.com/lc_microcontroller.php

Pask
Posts: 5
Joined: Mon Jul 05, 2010 11:04 am
Contact:

Re: BUTTON AND LED

Post by Pask »

Could you provide a more direct explanation? An example?Could you provide a more direct explanation? An example?

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: BUTTON AND LED

Post by Benj »

Hello,

The course covers things like reading inputs and assigning inputs to variables. It also covers writing outputs and assigning variables to outputs.

Teach a man to fish and he'll never go hungry again :)

Pask
Posts: 5
Joined: Mon Jul 05, 2010 11:04 am
Contact:

Re: BUTTON AND LED

Post by Pask »

Unfortunately the Matrix team not offer good support to your users and you refuse to answer simple questions. This is unfortunate.

To learn how to fish a man, someone has to teach him to put the bait on the hook!

User avatar
Steve
Matrix Staff
Posts: 3421
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: BUTTON AND LED

Post by Steve »

Hello Pask,

I'm sorry you feel we do not offer good support. This is certainly not the feedback we get from the majority of our users.

The "intro to micros" course Ben has given you a link to should answer your question - are there sections of this course that you do not understand or cannot get to work?

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: BUTTON AND LED

Post by Benj »

Hello,

Sorry passing an input value to a variable and then passing the variable back to an output is very simple and I would assume after about 10 - 20 mins of looking at the course you would have it sorted as well as being able to do a lot more.

Anyway here is the example.
Attachments
Switch to LED.fcf
(4 KiB) Downloaded 337 times

Pask
Posts: 5
Joined: Mon Jul 05, 2010 11:04 am
Contact:

Re: BUTTON AND LED

Post by Pask »

Friends, I am in Brazil and there is some difficulty in understanding the English language, because my language is Portuguese.
Also, the file "SWITCH TO LED.FCF" you sent me is corrupt or broken and not opened in Flowcode. I would ask that you send it again.

Thank you and sorry for the difficulties of novice here.
Pasqual.

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: BUTTON AND LED

Post by Benj »

Hello,

Here is a v3 version of the file.
Attachments
Switch to LED.fcf
(5.5 KiB) Downloaded 319 times

Pask
Posts: 5
Joined: Mon Jul 05, 2010 11:04 am
Contact:

Re: BUTTON AND LED

Post by Pask »

Ok Now I understand.
Thank you for your patience and thank you.

Post Reply