what about having 2 enable options. One in which you'll get an update on the SAMPLING_INTERVAL and another in which you'll get an update on the SAMPLING_INTVERVAL only when the value has changes (so that you don't send data when the rotary encoder is idle - for example when an encoder is used for a user interface rather than a robotics application).