I am trying to write a code for driving stepper motor n relay with AT89C51CC03 in assembly n in C. Can someone pls help me..... I will appretiate if someone can send me d code
Is this what you want?
void main(void){ int i; init_outputs(); while(1){ for(i=0;i<4;i++){ step_output(i); } toggle_relay(); } }
Or, perhaps you want to be more specific about the problems you are having with your code?
You may also find that people will take you more seriously if you use complete words, not sms shorthand.
ND
Thank you for replying.