robot project

oh, so then i basically cant use "return" if my function involves entering values right?

Wrong. You do not HAVE to use void as the return type. digitalRead() doesn't. analogRead() doesn't.