I guess reading the complete reference page would've helped. constrain() - Arduino Reference
I'm on the "More" warning level so a = constrain(a, 0, 250); works but as pert says, on "All" it still throws some warnings.
I guess reading the complete reference page would've helped. constrain() - Arduino Reference
I'm on the "More" warning level so a = constrain(a, 0, 250); works but as pert says, on "All" it still throws some warnings.