#include<reg51.h>
sfr stepper=0xA0;
void delay(unsigned int count)
{
int i;
for(i=0;i<count;i++);
}
void main()
{
while(1)
{
stepper=0x01;
delay(350);
stepper=0x02;
delay(350);
stepper=0x04;
delay(350);
stepper=0x08;
delay(350);
}
}
we can do that project or not
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?