venkatraman Profile Topics Started Replies Created Engagements Search replies: Forum Replies Created Viewing 1 post (of 1 total) Author Posts June 17, 2013 at 3:06 am in reply to: Bipolar Stepper Motor 8051 C-program is needed!!! Please share if anybody have one. #9971 venkatramanParticipant #include<reg51.h> #define motor P1 void delay(unsigned int k) { unsigned int i,j; for(i=0;i<k;i++) { for(j=0;j<30;j++) {}}} void main() { motor=0x00; while(1) { motor=0x06; delay(200); motor=0x05; delay(200); motor=0x09; delay(200); motor=0x0a; delay(200); }} Author Posts Viewing 1 post (of 1 total)