Hi GeoJoe,

GoTo http://www.microchip.com/ and type "BLDC MOTOR" into search box.

You will have plenty of codes, schematics etc.

Sayzer