rc 3 position switch dc motor sketch