Professional Documents
Culture Documents
Regfile
Regfile
dat"
$crystal = 12000000
Porta = &HFF
Portc = &H00
Do
Porta = &HC0
Portc = &H6F
Wait 1
Porta = &HF9
Portc = &H7F
Wait 1
Porta = &HA4
Portc = &H07
Wait 1
Porta = &HB0
Portc = &H7D
Wait 1
Porta = &H99
Portc = &H6D
Wait 1
Porta = &H92
Portc = &H66
Wait 1
Porta = &H82
Portc = &H4F
Wait 1
Porta = &HF8
Portc = &H5B
Wait 1
Porta = &H80
Portc = &H06
Wait 1
Porta = &H90
Portc = &H3F
Wait 1
Loop
Lcd
$regfile = "m8535.dat"
$crystal = 12000000
Config Lcdpin = Pin , Db4 = Portc.2 , Db5 = Portc.3 , Db6 = Portc.4 , Db7 =
Portc.5 , Rs = Portc.0 , E = Portc.1
Dim A As Byte
Config Lcd = 16 * 2
Cursor Of
Cls
Do
Lcd "ZULFAHMI"
Waitms 100
Lowerline
Waitms 100
Lcd "15.01,02.029"
Waitms 100
For A = 1 To 25
Shiftlcd Right
Waitms 100
Next
For A = 1 To 25
Shiftlcd Left
Waitms 100
Next
Loop
Rotate
$regfile = "m8535.dat"
$crystal = 12000000
Porta = &H01
Do
Wait 1
Wait 1
Loop