Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 11th June 2007, 04:31 PM   (permalink)
Default Help!!!

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 is offline  
Old 11th June 2007, 05:00 PM   (permalink)
Default

Quote:
Originally Posted by bhargavraj patel
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?
Optikon is online now  
Old 11th June 2007, 06:05 PM   (permalink)
Default

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.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 11th June 2007, 06:32 PM   (permalink)
Default

to ericgibbs
i'll be very much thankful as i needed it much

Last edited by bhargavraj patel; 12th June 2007 at 07:57 AM.
bhargavraj patel is offline  
Old 11th June 2007, 07:12 PM   (permalink)
Default

Quote:
Originally Posted by bhargavraj patel
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.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:13 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker