hi everyone i am doing one simple project like 8051 interfacing with stepper motor using the driver ic ULN2003 in this i have connected like 2 inputs (p2.1) (p2.3)and 4 outputs from(p2.13,14,15,16)..................i didnt get the output .........is der anything in that connections or in my program plz help me to do this...............
this was my program for the below circuit...........
#include<reg51.h>
#include<stdio.h>
void delay(){
unsigned char i,j,k;
for(i=0;i<6;i++)
for(j=0;j<255;j++)
for(k=0;k<255;k++);
}
main()
{
while(1)
{
P2=0x0c;
delay();
P2=0x06;
delay();
P2=0x03;
delay();
P2=0x09;
delay();
}
}
- - - Updated - - -
please help want to change anything from that circuit or in programs..................
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?