Tekstiviesti: Control of switching systems by invariance analysis