Code for control panel devices