Shop OBEX P1 Docs P2 Docs Learn Events
Parallel Port Access Discovery — Parallax Forums

Parallel Port Access Discovery

T ChapT Chap Posts: 4,223
edited 2009-07-19 22:36 in General Discussion
Off topic, but was just trying to find a way to get REALbasic to talk to the parallel port to drive step and direction on 3 steppers. I found an amazingly simple solution in case anyone ever wanted to experiment. In just a few minutes of reading I was able to tick all 3 steppers, now just need to create some code to move to coordinates.

You have to have REALbasic or VB or any of several other apps to run the dll.

Here are some links:

http://logix4u.net/Legacy_Ports/Parallel_Port/Inpout32.dll_for_Windows_98/2000/NT/XP.html.

For example, to get your app talking to the outputs 0-7, simply send out an 8 bit integer that states which of 8 pins are on (pins 2 - 9).

Sample RealBasic program and dll here:

[noparse][[/noparse]url]http://aaronballman.com/programming/REALbasic/InpOut32RB.php
Sign In or Register to comment.