Main Menu

HOME

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

US Job listings




   Misc

   Amazon

   Links

    


Debug
 

 

 

There is an easy way of testing that your little circuit works without the requirements of any programming . We can use debug in DOS instead.

The first step is to get to a DOS prompt , in Windows 98 there is an entry in the Start Menu / Programs for the DOS prompt .

Now once you are there type in debug and press enter , you will be greeted with a minus sign ( - ) at the beginning of the next line that is correct .

First we will switch the LED on , to do this on the line with the - type the following

-o 378 ,1

this means output , thats the o . Then 378 which is the address for the printer port on my machine and then the value to output is 1 . Now lets switch the led off , type the following in

-o 378 ,0

The LED now goes off.

Here is a screen capture of all of this , note we have put in a wrong entry to demonstrate what happens if you have a typo .

 

 

 

 

 

 




   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
multiple text example(Darkbasic)
display services in an excel spreadsheet(VBScript)
get windows version(VB)
basic addition example(Darkbasic)
Display all sub-folders of a given path(VBNet)
Frames support(ASP.net)
Send an email(ASP)
Right click on folder command prompt(VBScript)

    




Copyright © 2003 by programmershelp.co.uk