Sorry, I forgot to paste that part of code:
but still the same thing, and the interesting fact is that the codeCode:@ __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_1_1L @ __CONFIG _CONFIG1H, _FOSC_HS_1H @ __CONFIG _CONFIG2L, _PWRT_ON_2L @ __CONFIG _CONFIG2H, _WDT_OFF_2H @ __CONFIG _CONFIG3H, _MCLRE_ON_3H & _PBADEN_OFF_3H @ __CONFIG _CONFIG4L, _STVREN_OFF_4L & _LVP_OFF_4L define OSC 20 define LOADER_USED 1 define LCD_EREG PORTC define LCD_EBIT 1 i var word pause 100 CMCON=7 CCP1CON=0 ADCON1=$0F ADCON0=0 lcdout $fe,1,"MADNESS!!!" pause 1000 i=150 pause 1000 lcdout $fe,1,dec3 i pause 1000 kraj: goto kraj end
working OK - the value written on lcd is correct when i program
pic through bootloader!




Bookmarks