MOVED: Function returning value

This topic has been moved to Project Guidance. "For problems with Arduino itself, NOT your project " http://forum.arduino.cc/index.php?topic=262059.0