I was desgin three circute to connect them
with LPT1, I want evry one to work alone
(evrey ony work in deferent time) so when I
write below code in Borland C++ v.5
all data pins (D0-D7) is working correct
code is:
for (i=1;i<=10000;++i)
{
asm
{
mov dx,0X378
mov al,0XFF
out ax,dx
}
for (j=1;j<=10000000;j++){} // loop for delay only
asm
{
mov dx,0X378
mov al,0X00
out ax,dx
}
}
all pins (D0-d7) are blinking correctly
but when i need only one PIN to blink alone and the others is low i was write
the code below but there is no signal in any PIN .
code is:
for (i=1;i<=10000;++i)
{
asm
{
mov dx,0X378
mov al,0X
out ax,dx
}
for (j=1;j<=10000000;j++){} // loop for delay only
asm
{
mov dx,0X378
mov al,0X00
out ax,dx
}
}thanks for helping
arial