GENSQR_f - Scicos square wave generator
This block is a square wave generator: output takes values -M and M. Every time an event is received on the input event port, the output switches from -M to M, or M to -M.