shobhit_goel10
New Member
Hi I am using the parallel port of pc to run a stepper motor.. I have written a code in c but the port is not generating outputs.. i heard a file inpout32.dll is required so i downloaded it and placed in system32 folder in my win xp. still no outputs..
this code is supposed to output all 1's on pins 2 to 9, but its not..
#include <stdio.h>
#include <dos.h>
void main(void)
{
outportb(0x378,0xFF);
}
what may be the problem?
thanks..
this code is supposed to output all 1's on pins 2 to 9, but its not..
#include <stdio.h>
#include <dos.h>
void main(void)
{
outportb(0x378,0xFF);
}
what may be the problem?
thanks..