Closed chrom3 closed 8 years ago
Made it so the last value has priority over the previous command. changed variable "wait" to "transition_time" changed time variables to unsigned long
from: stepR = calculateStep(prevR, realRed); stepG = calculateStep(prevG, realGreen); stepB = calculateStep(prevB, realBlue); to: stepR = calculateStep(redVal, realRed); stepG = calculateStep(grnVal, realGreen); stepB = calculateStep(bluVal, realBlue);
I incorporated most of this feedback in commit 4a0eef10c54a0ffcad7b2ada415960952c27b350. Thanks, @chrom3.
Made it so the last value has priority over the previous command. changed variable "wait" to "transition_time" changed time variables to unsigned long
from: stepR = calculateStep(prevR, realRed); stepG = calculateStep(prevG, realGreen); stepB = calculateStep(prevB, realBlue); to: stepR = calculateStep(redVal, realRed); stepG = calculateStep(grnVal, realGreen); stepB = calculateStep(bluVal, realBlue);