module: step_in_bool
description: 
parameters:  int vend, int vstart
             double tstep
inputs:  
outputs:  bool step
classes:  
static_variables: double i  
init:  
i = 0.0;
step = vstart;

code:
i += 1.0; 
step = i*Ts > tstep ? vend : vstart;

