Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


Flash an led on and off
 

 

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

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
reboot PC(C)
random ellipses(Darkbasic)
increase / decrease number with a button press(Javascript)
Bubblesort routine(PHP)
winoscentral.com news(PHP)
Run minesweeper(VB)
Create a file(C Sharp)
write to a file using the filesystemobject(ASP)

    




Copyright © 2003 by programmershelp.co.uk