English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

hi friends plz help me, i try to control electrical devices from pc's parallel port by writting c program.but in the parallel port all ways a constant +5v presents.even i try to sent data to the parallel port by using c program,there is nothing happened.there is no mistake in c program.i am using windows xp wit service pack 2.plese help me ,how to eleminate this +5v ,from my port

2006-10-27 05:26:12 · 3 answers · asked by samimugam 1 in Computers & Internet Programming & Design

3 answers

how are you measuring the 5v, and on what pin(s)? data will be represented by (about) 0v, and in an idle condition it will be 5v. if you are just using a volt meter you wont see it, you need to use an oscilloscope to capture the data.

2006-10-28 02:34:51 · answer #1 · answered by justme 7 · 0 0

it is harder than you think of. modern OSs block consumer mode classes from having direct hardware get admission to. You first want a kernel driving force that provide you the mandatory hardware get admission to. it is the case for the two Linux and homestead windows (and that i might suspect the comparable for MacOS). There are some widely used drivers that in basic terms divulge hardware get admission to to consumer mode classes, yet you may decide for to income the API for that driving force.

2016-10-03 00:42:38 · answer #2 · answered by vishvanath 4 · 0 0

check out this site on parallel port programming
http://www.lvr.com/jansfaq.htm

2006-10-27 10:42:25 · answer #3 · answered by stratsandlespauls 6 · 0 0

fedest.com, questions and answers