Programming servo

angle_servo=covert(); rotate(base_angle,1);

what are these codes used for?

Because I know nothing about covert, rotate, angle_servo and base_angle, it is hard to provide much detail. That may be a good thing.


calls the function covert and places its returned result into the variable angle_servo. There may be other effects but I cannot tell from here.


calls the function rotate with two parameters: base_angle and 1. If there is a result returned, it is thrown away. Presumably, the function rotate has other effects but I cannot tell what they are.

These are basic C/C++ concepts. If you have more questions, perhaps you should try reading about the language.

Hi, Welcome to the Forum

Please read the first post in any forum entitled how to use this forum.,148850.0.html then look down to item #7 about how to post your code. It will be formatted in a scrolling window that makes it easier to read.

To understand your question you will need to post the entire code.

Thanks.. Tom... :)