Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Help!!!

Status
Not open for further replies.
hi i want to change voltage level of parrell port's data regester.
my LPT1 port add is 0378h...
i m using C language 4 programing.
i knw that "outportb" fun is use to set data at port.
i hav written "outportb(0x378,0x00)"
and change the val of passed haxa decimal argument to fun
bt i m not geting apropiate volatage at port..
i think der should be problem wid the form of argument i hav passed to fun..
plz solved my problem.....
 
bhargavraj patel said:
hi i want to change voltage level of parrell port's data regester.
my LPT1 port add is 0378h...
i m using C language 4 programing.
i knw that "outportb" fun is use to set data at port.
i hav written "outportb(0x378,0x00)"
and change the val of passed haxa decimal argument to fun
bt i m not geting apropiate volatage at port..
i think der should be problem wid the form of argument i hav passed to fun..
plz solved my problem.....

Does your OS give you direct access to the port? Some do not. Have you posed this question in the microcontroller forum. Maybe get a better response?
 
hi bhargavraj patel,

If you are using Windows XP, you will probably require the 'inpout32.ddl' in your windows/system directory.
You can download a free copy from the web.

If you require a copy of my parallel port test program, let me know.
You will also require the Visual Basic runtime files from the web.
 
bhargavraj patel said:
to ericgibbs
i'll be very much thankful as i needed it much
Hi,
The programs have been sent to your email address.
I would advise you to edit your first post, delete your email address, you could get spammed.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top