Start button in subprogram

I made two seperate programs. In both programs there is a wait function for the high vallue of the startbutton. I also made a program with this two programs as subroutines in it. I only want to press the startbutton one time in this program. How can I achieve this fuctionality.

Can you send a picture of the wait functions in the two programs being used as subprograms?

1 Like

Is this something that can be solved by wiring your button into an IO that sends the play command?

1 Like

I get it working with the IO settings and delete the wait statement in the program.



1 Like