mapping values

AWOL:

  1. Are there any other major issues with my sketch?

Yes, this one:

vall = map(vall, 0, 100, 90, 180);

valr = map(valr, 0, 180, 180, 90);

must have slipped through, thanks

and talking about

Are apples or beach balls better? There is no real comparison. Pointers can be local or global. Global variables can be pointers or non-pointers.

at least I remember that we used pointers (in highschool) instead of global variables ...
and

Rather than casting an int to a float, it would be cleaner to simply divide by a float (100.0) rather than an int (100)

servol.write(vall * (perl / 100.0) );

right ?

thanks