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

    


QBasic code
 

 

 

QBasic source code

dataport = &H378
OUT dataport, 0
SLEEP (1)
OUT dataport, 1
SLEEP (1)

Notes

This program was written in QBasic 4 , I believe . In QBasic you use the OUT function to send a value out of the specified port . In the above example the port is &H378 and we send a 0 ( led is switched off ) then we delay , switch the led on and then delay again .

Download

ledflash1.bas

 

 

 

 

 

 




   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
Select Case example(ASP)
Get I.P address(ASP)
Name of browser(ASP.net)
open start menu example(VB)
Beep(VB)
Random passwords(PHP)
Get root directory(VBNet)
HTML special characters(PHP)

    




Copyright © 2003 by programmershelp.co.uk