push to make

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
jacobsg
Posts: 14
Joined: Sun Jun 14, 2009 10:45 am
Has thanked: 2 times
Contact:

push to make

Post by jacobsg »

Hi
3 questions

How can I make flowcode output a 1 on port B only when the push to make key is released? I have tried with component macro "readstate" and component macro "waituntilhigh" but no luck.

Can you help me with secret doorbel1 topic please (I know it is a silly question but I cant get it going)

Why can't I post questions on flowcode 4? I have acquired flowcode 4 and registered it

Thanks

Gerhard

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

Re: push to make

Post by Steve »

1) Assuming your switch is connected to pin A0, you would create a flowchart similar to this:

Code: Select all

Loop while 1 (i.e. forever)
  Input A0 -> MyVariable
  Decision: If MyVariable
    Output PortB = 0
  Else
    Output PortB = 1
  End if
End Loop
3) You will need to contact us directly with your forum username and your Flowcode V4 activation name and code. We will then add you to the list of users who can post on the V4 forum.

Post Reply