A atif123 Member Jan 30, 2013 #1 hi all . i want to control stepper motor . control with micro controllar 89c51 . bidirtectnal from to switchs . i need c code . on keil software . plz send c code with hex as early as posible. thanks all
hi all . i want to control stepper motor . control with micro controllar 89c51 . bidirtectnal from to switchs . i need c code . on keil software . plz send c code with hex as early as posible. thanks all
panic mode Well-Known Member Jan 30, 2013 #2 Do some research, Google is your friend. If you did, you would come across things like **broken link removed** When you have a question, state it properly (check spelling, provide details like schematic, pin assignment, clock type and etc.).
Do some research, Google is your friend. If you did, you would come across things like **broken link removed** When you have a question, state it properly (check spelling, provide details like schematic, pin assignment, clock type and etc.).
remon7 Active Member Dec 11, 2013 #3 Hi, I have used this stepper motor control c code recently. #include<reg52.h> void main(2) { while(2) { void delay (int); P1=0xCC; delay(2); P1=0x66; delay(2); P1=0x33; delay(2); P1=0x99; delay(2); } } void delay(int b) { unsigned int x,y,z; for(x=0;x<10;x+++) for(y=0;y<a;a+++); } <<<<*>>>> THanks
Hi, I have used this stepper motor control c code recently. #include<reg52.h> void main(2) { while(2) { void delay (int); P1=0xCC; delay(2); P1=0x66; delay(2); P1=0x33; delay(2); P1=0x99; delay(2); } } void delay(int b) { unsigned int x,y,z; for(x=0;x<10;x+++) for(y=0;y<a;a+++); } <<<<*>>>> THanks