Variable overflow on maestro

Hi !

I would want to know if there is a way to detect an overflow after an arithmetic operation on the 12-servo maestro.
Is it possible to make the value saturate at 32767 or -32768 instead ?

If none is possible, I will have to detect it manually with programmation.

Thanks !

Hello,

There is nothing built into the Maestro to detect or block arithmetic overflow, so you will have to do it yourself. However, the best strategy is usually to avoid overflowing in the first place! If you tell me what you are trying to do, maybe I could give you some more specific suggestions.

-Paul