Unit Conversion header
The Unit Conversion function and value are declared in the header file AxisConfiguration.h
.
In AxisConfiguration.h
, your unit conversion code should be as follows:
#pragma once
/* Unit Conversion */
//Desired number of units per axis revolution.
//Here we convert the unit to degrees.
#define UNITS_PER_REVOLUTION 360
VOID PositionUnitConversion(int Index);