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