// include the XC header file to define all register and bit names
#include <xc.h>
PTGT0LIM = 0x0046    // 5 μs x 14 clocks/μs
PTGT1LIM = 0x000B    // 1 μs x 14 clocks/μs] - three Step clocks
PTGC0LIM = 0x0018    // (total of 25 inner loop iterations
PTGC1LIM = 0x0001    // total of two outer loop iterations
PTGHOLD  = 0x0046    // 5 μs x 14 clocks/μs 
PTGADJ   = 0x000E    // 1 μs x 14 clocks/μs
PTGSDLIM = 0x0000    // no Step delay
PTGBTE   = 0x0000    // no broadcast triggers
PTGQPTR  = 0x0000    // start of Step queue
PTGCST   = 0x8200    // after PTGQPTR is initialized