Rising Edge Events
Here is the code used in this example: Rising Edge.zip . Download this, unzip the folder, then open the .vio file inside of vBuilder.
Here is walk through creating a routine that waits on a rising edge (OFF to ON transition).
The following goes through the example in debug mode.