Korawy
Member level 3
- Joined
- Sep 8, 2011
- Messages
- 61
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,776
Hi all,
i have a strange problem with PIC18F452
i have a program that uses all the timers(TMR0,1,2,3), and using RF Module and LCD to indicate things.
I was working with RF code with no problem (using two timers) and the program was more than 400 Lines (using mikroC), but when i add about 10 lines (dealing with the other two timers), The PIC doesnt work and the LCD shows number of blocks.
I think then that the PIC is damaged, but when i remove the 10 Lines that has been added, The PIC works fine with no problem...
Is it a problem with POWER or there are config bits that needs to be enabled (or disabled)?
The Config Bits that is activated :
WDT disabled
LVP disabled
HS_OSC Enabled
i have a strange problem with PIC18F452
i have a program that uses all the timers(TMR0,1,2,3), and using RF Module and LCD to indicate things.
I was working with RF code with no problem (using two timers) and the program was more than 400 Lines (using mikroC), but when i add about 10 lines (dealing with the other two timers), The PIC doesnt work and the LCD shows number of blocks.
I think then that the PIC is damaged, but when i remove the 10 Lines that has been added, The PIC works fine with no problem...
Is it a problem with POWER or there are config bits that needs to be enabled (or disabled)?
The Config Bits that is activated :
WDT disabled
LVP disabled
HS_OSC Enabled