can anyone help me to use c++ to use an i/o interface, to control robotics,led's, etc.<br>i am using the dos-based c++ compiler, not a program such as c++ builder, but i also have a copy of that if it is needed.<br>thanks for your help
imbored,<br><br> It really depends upon what OS you are using. If you plan to access i/o through DOS, then you can use <i>inp, outp,</i> and their related cousins. If you are going to use Win32, then you will need to access the device drivers since you cannot access the ports directly. Which OS do you plant to use?<br><br> <p>James P. Cottingham<br><a href=mailto: > </a><br><a href=
I am using inline assembly with c++ builder to talk directly to the printer port, it is easy and very fast (10,000 3 byte reads per second on a PII 350). <br>asm<br>{<br>mov DX 0x378<br>mov AL val<br>out DX, AL<br>}<br><br>Hope it helps<br><br>Seth Wright
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.