This program controls a BLDC motor in closed loop using PIC18Fxx31 devices. Hardware used is PICDEM MC development board