hi everyone,
i'm building a motor controller(mainly hard disk).i'm using an 89C51 microcontroller.i wrote a program which did'nt work.i built a mosfet array to drive the delta connected motor.here's the program that i did.i don't know if it is efficient,correct and such details.please help me build a proper program.
#include<reg51.h>
#define pin1 P1