سلام
این برنامه برای ال سی دی گرافیکی موقع کامپایل بسکام ازش خطا میگیره
تو کتابخانه ks108 دارم
این برنامه برای ال سی دی گرافیکی موقع کامپایل بسکام ازش خطا میگیره
$lib "glcdKS108.lbx"
$regfile = "m8def.dat" ' specify the used micro
$crystal = 8000000 ' used crystal frequency
'some routines to control the display are in the glcdKS108.lib file
'First we define that we use a graphic LCD
Config Graphlcd = 128 * 64sed , Dataport = Portd , Controlport = Portb , Ce = 1 , Ce2 = 0 , Cd = 2 , Rd = 3 , Reset = 4 , Enable = 5
Lcdat 4 , 1 , "0123456789..."
End
$regfile = "m8def.dat" ' specify the used micro
$crystal = 8000000 ' used crystal frequency
'some routines to control the display are in the glcdKS108.lib file
'First we define that we use a graphic LCD
Config Graphlcd = 128 * 64sed , Dataport = Portd , Controlport = Portb , Ce = 1 , Ce2 = 0 , Cd = 2 , Rd = 3 , Reset = 4 , Enable = 5
Lcdat 4 , 1 , "0123456789..."
End
تو کتابخانه ks108 دارم
دیدگاه