// perform the 2nd stage setup that requires YoctoAPI object
 protected void init(YColorLed hwd)
 {
     if (hwd == null)
     {
         return;
     }
     base.init(hwd);
     InternalStuff.log("registering ColorLed callback");
     _func.registerValueCallback(valueChangeCallback);
 }