An attiny2123 based servo and switch decoder