1. Make sure your PC/Laptop have a db25 Female printer port at the backside(take a look them), and all pin are fine.
2. DB25 Male (buy it from electronics shop), we need one for this
3. cable(or if you have TCP cable, use it)
4. LED
5. Inpout32.dll
6. Visual Basic 6.0
7. and some snack with coffee
Lets we start
1. assembly the led and cable with db25 male, like picture bellow

2. when it done, plug the db25 male into the female, and make sure all pin are inserted
3. copy the Inpout32.dll into c:\windows\system32\ or same directory with your project
4. Open the visual basic 6.0 and select the standart application
5. add module into the project and paste this code into the module
Option Explicit
Public Declare Sub Out Lib “inpout32.dll” Alias “Out32″ _
(ByVal PortAddress As Integer, ByVal Value As Integer)
6. after it done, take a look into the form, add one CheckButton and insert this code
Private Sub Check1_Click()
If Check1.Value = 0 Then
Out 888, 255
Else
Out 888, 0
End If
End Sub
7. run it by pressing F5
8. Press the button and take a look your LED
Download







ohh gitu tohh mas ^^,
tengkyu2..
iya bos..makasih yah udah mampir..btw ditunggu artikelnya juga hehehe
bahas lebih detail……..please
butuh buat 2 hari lagi(senin tanggal 4 februari 2008)
DEAD OR ALIVE
I NEED IT IMMEDIATELY
PLEASE REPLY AS SOON AS POSSIBLE
kalo gak IP gw turun malah bisa kena DO
HELP………………………
coba link ini deh mas adit
http://www.4shared.com/file/36676692/c6f676aa/PaperProjectSmstr1.html
paper saya wktu semeter 1 kuliah
mudah2an IPnya ga turun..hehehe
maz aris ak dah coba langkah demi langkah dari aplikasi diatas ko waktu ak jalankan mash ada errornya yah,
“expected: string constant ”
pada inpout32.dll di code modulnya
tolong dong ak br aja mau blajar pemrograman dngn vb konek ke hardware….???!!!
masa gitu yah??
hmm coba dikompile dikomputer lain…
asslkm,terimakasih banyak ya mas,u projectny, oya mas saya mau minta tolong donk mas,tolong ditambahin fasilitas timer u/tiap2 tombolnya,baik itu Timer u/ON atau u/OFF,jujur aja saya ini baru2 aja belajar VB,soalnya ditempat kuliah saya ga ada mata kualiah VB,tapi jujur seudah saya pelajarin project dari mas saya jadi sedikit mengerti,saya berharap banget mas aris bisa bantu,kalo bisa yg terperinci ya mas,soalnya ini bakal saya jadiin u/bahan skripsi saya,mohon maaf ya mas saya udah ngerepotin mas,terimakasih banyak sebelumnya,semoga mas diberi inspirasi lagi,AMIN,dan saya tunggu jawabannya
Assalam, Arizane, salam sejahtera. Saya Reza dari Malaysia ingin mengucapkan terimakasih kerana program vb yg di paparkan dalam blog ini amat berguna, taniah dan terimakasih. Saya nak tanya ada tak vb program untuk mengawal serial port kalau ada tolong email saya di reza2613@yahoo.com
Salam Kenal Mas…
Thanks tutorialnya mengenai led…
jadi menampah pengetahuan saya.
terima kasih..
artikel yang bermanfaat,terutama bagi tugas kuliahku
Thanks sob !!!
artikel u dah sngat membantu Q
krna artikel u Q bsa menylesaikan Tugas Akhir Q
thank you fery much sob