/Output 1 flashes 5 times per second
/This uses the Tick to control the timing

Variables
u8 OP
End

Start
if Tick>100
   Tick=0
   if OP>0
       OP=0
       Output1=1
   else
       OP=1
       Output1=0
   endif
endif
End

 

 

Example 4