switched pin