View Single Post
  #1   Spotlight this post!  
Unread 09-02-2013, 16:47
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Run Command Once When Trigger is Pressed

Quote:
Originally Posted by inkspell4 View Post
How do i make it so that a command runs once when the trigger is pressed?
Set a boolean TRUE on rising edge of trigger, and

Run the command when the boolean is TRUE and set the boolean OFF after running.


Reply With Quote