Main Menu

HOME

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

US Job listings




   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
check a file exists(php)
Get I.P address(ASP)
get the path of the favorites folder(VB.net)
download a web page to a file(PHP)
Slashdot feed(PHP)
Random passwords(PHP)
grab a web page with cURL(PHP)
Cosine example(C)

    




Copyright © 2003 by programmershelp.co.uk