 }
 
 
-// Register unwatch handler called when host requests to unwatch a register
-//
-int register_unwatch(int dev, int reg) {
-}
-
-
 // Arduino setup function executed once after reset
 //
 void setup() {

// SRDP channel to communicate with host
//
srdp_channel_t channel;
  

// Transport reader function used by the SRDP channel
//

         case IDX_REG_BTN1:
         case IDX_REG_BTN2:
            if (pos == 0 && len == 1) {
               
               if (reg == IDX_REG_BTN1) {
                  data[0] = btn1.getState();
               } else {
