Output?

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
ule
Posts: 18
Joined: Tue Jan 13, 2015 7:58 pm
Has thanked: 4 times
Been thanked: 2 times

Output?

Post by ule »

Hello
First of all, sorry for my poor english :wink:

I instaled flowcode v5 demo (picmicro). I wrote simple program with switch and 3 leds. When i start the simulation one led is blinking, if the switch is on, first led stop blinking and second start. Third led is only for indication if switch in on or off. Simple.
Now i have a question. If you look flowchart you'll see that I used "decision" function in main loop. I used variable RA3, which is conected to switch on port RA3.
Now I want to use some "variable" off port RA2 instead RA3. RA2 is output for control LED. I don't know how to.
Attachments
Test.fcf
(16 KiB) Downloaded 224 times

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times

Re: Output?

Post by kersing »

I have moved your question to a more appropriate forum as you are not sharing knowledge (which is what the "tips and tricks" forum is for.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

ule
Posts: 18
Joined: Tue Jan 13, 2015 7:58 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Output?

Post by ule »

I did this. Working fine :D
Attachments
Test_2.fcf
(16.4 KiB) Downloaded 218 times

Post Reply