$regfile = "m16def.dat"
$crystal = 8000000
$lib "lcd4busy.lib"
Const _lcdport = Portc
Const _lcdddr = Ddrc
Const _lcdin = Pinc
Const _lcd_e = 2
Const _lcd_rw = 1
Const _lcd_rs = 0
Config Timer1 = Pwm , Pwm = 8 , Prescale = 1 , Compare A Pwm = Clear Down , Compare B Pwm = Clear Down
Config Pind.7 = Output
Config Lcd = 16 * 2
Pwm1a = 255
Cls
Lcd "test"
End
Config Timer1 = Pwm , Pwm = 8 , Prescale = 1 , Compare Pwm = Clear Down
Config Timer2 = Pwm , Pwm = on , Prescale = 1 , Compare Pwm = Clear Down
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 7