Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

paralell port

Status
Not open for further replies.

thomasalice

Programmer
Joined
Aug 11, 1999
Messages
4
Location
US
I do not have any books on Qbasic so can any one tell me how to control all the ports I.e. Paralell com1 com2and so on. I am tring to make a dos base program to get information from the camera it hooks into the key board port and the paralell port plus i also want to control the mouse
 
I know one code, to control data lines d0 - d7<br>
<br>
OUT 888, 1<br>
<br>
this controls d0<br>
<br>
888 is the parallel ports address on my comp.<br>
<br>
jmoss@gideon.k12.mo.us
 
Check the options:<br>
<br>
INP<br>
ON COM(n)<br>
COM(n) ON<br>
OPEN COM(n)<br>
OUT<br>
WAIT<br>
<br>
under INDEX in your HELP menu....these should do what you are wanting.<br>
<p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top