Example backend Arduino code that interfaces phyiscal swithes with SimpitController