Most code for reading an analogue value, mapping and writing to a servo do something like:
mappedvalue = map(analogValue, 0, 1023, 0, 179);
Is there any reason why I can't do this in one step such as:
servo1.write(map(analogValue, 0, 1023, 0, 179));
Just seems more compact.