;=======================================================================
This is a simpliest example how to use inpout32.dll from fasm project
;=======================================================================
Disclaimer
I'm sure it is absolutely safe usage of hardware, but anyway i'll not
be responsible on any damage while usage this program.
Also, do not try this example if you have any device installed on LPT,
like software protection keys or so.
;=======================================================================
To try it you need first to download inpout32.dll from logix4u.net and
place it or into same dir as application, or better into place of 
common scope, like system32 system folder. Also you need usual led with
pins, enough long to be inserted into LPT connector.

Minimum knowledge about LPT pins you need is:

D0 - 2                  GND - 18..25
D1 - 3
D2 - 4
D3 - 5
D4 - 6
D5 - 7
D6 - 8
D7 - 9

Better pin pairs to insert:

D3 - 5-18
D4 - 6-19
D5 - 7-20
D6 - 8-21
D7 - 9-22

Now run application, check all boxes and press "Set" button.
Insert led pins, say, into 5 and 18 holes. If it does not lights -
just swap led pins (change polarity). Now try to dark it - uncheck
all boxes and press "Set" again.

If you will make "adaptor", you may connect up to 8 leds to LPT data
pins and shine each of them separately as checked on dialog.

If you will find this application easy, you may read more about LPT and
inpout32.dll, and make more complex and usefull devices, be controlled 
under win32 via LPT, like eprom programmers or whatever you want.

Regards!
Shoorick
;=======================================================================

