| Flash an led on
and off
On this page we will
discuss connecting to the parallel
port and will have a variety of source
code .
A word of warning ,
we take no laibility for any damage
that may be caused by connecting up
your PC and building this project
.
Firstly click
on this link to see a the pinout
of a typical printer port and some
notes .
In the example we will be connecting
pin 2 to a resistor and an LED . Click
here to look at the simple schematic
and notes .
Now lets look at the
various programs to flash the LED
on and off . We will start with the
Visual C++ version .
Visual
C++ source code
Using
Debug
Turbo
C source code
Visual
Basic source code
QBasic
source code
|