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