MPLAB® Harmony Graphics Suite
|
LIB_EXPORT int32_t leNormalizeAngle( int32_t t );
Parameters |
Description |
int32_t t |
angle (in degrees) |
int32_t - normalize an angle in degrees.
t = -5, return value is 355 t = 450, return value is 90
MPLAB® Harmony Graphics Suite
|