Using a single buton to make several outputs

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

Moderators: Benj, Mods

Post Reply
tompzone
Posts: 23
Joined: Mon May 23, 2011 4:30 pm
Has thanked: 4 times
Contact:

Using a single buton to make several outputs

Post by tompzone »

Hi i been having trouble doing a simple task, i want to send a message to a lcd using a button (any port) and do nothing, then using the same button send another one one line below, so i can see the two messages, but i cant figure out how to do this because every time i try with the button (momentary push button) it sends me the two messages, i tried alot of thins (incrementing a variable doesnt seem to work it always goes back to 0 i tried b=a+a b being the vairable and a the button but it always shows 2 and when the button is released it goes back to 0 so it doesnt work), i think that i could do it with ASM instructions (using the JZ and the jumping to the messsage), so if you have any idea how to do it or at least using the ASM commands i would be very grateful
thaknks

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: Using a single buton to make several outputs

Post by Benj »

Hello,

This file should help you to get started.
Attachments
Flowcode1.fcf
(6 KiB) Downloaded 327 times

tompzone
Posts: 23
Joined: Mon May 23, 2011 4:30 pm
Has thanked: 4 times
Contact:

Re: Using a single buton to make several outputs

Post by tompzone »

thanks alot ben just what i wanted to do

Post Reply