embedded systems switch example from lecture