/* Returns the current (relative) position of the Primer. Only X-Y axis are considered here. */
void MEMS_GetPosition(s16 *pX, s16 *pY)
/* Returns the current (relative) position of the Primer. Only X-Y axis are considered here. */
void MEMS_GetPosition(s16 *pX, s16 *pY)
{
   *pX = MEMS_Info.OutX - XInit;
   *pY = MEMS_Info.OutY - YInit;
   }