johnwasser:
raviolifaceman:
If the new CC is different to but at least 3 away from the old value, send the CC.const int deadZone = 3;
if ((newValue+deadzone) < oldValue || newValue > (oldValue+deadZone)) {
}
The deadZone needs to be 2 otherwise the 'at least 3 away' becomes 'at least 4 away'.