Pages

Rabu, 04 April 2012

Belajar Dot Matrix 2


Rangkaian :

Code List :
$regfile = "reg51.dat"
$crystal = 12000000
Do
P1 = &B00000001
P2 = &B11111110
Waitms 250
P1 = &B00000001
P2 = &B11111101
Waitms 250
P1 = &B00000001
P2 = &B11111011
Waitms 250
P1 = &B00000001
P2 = &B11110111
Waitms 250
P1 = &B00000001
P2 = &B11101111
Waitms 250
P1 = &B00000001
P2 = &B11011111
Waitms 250
P1 = &B00000001
P2 = &B10111111
Waitms 250
P1 = &B00000001
P2 = &B01111111
Waitms 250
Loop

2 komentar:

  1. maaf pak Code List diatas menggunakan program apa untuk mengeditnya, trimakasih

    BalasHapus
  2. Mas Lutfan : Anda dapat menggunakan Program Kompilernya pakai "BASCOM 8051" Kalau belum punya dapat cari atau download di Google banyak

    BalasHapus

Silahkan berkomentar !