I wanted to generate a delay of 1ms by using PIC18F2550 Timer0 Interrupt Service Routine using MIKROC for pic
when i tried to simulate this in PROTEUS, i got some errors
[PIC18 STACK] PC=0x0038. Stack overflow is forcing device reset. [U1]
Here is my code..
PROTEUS showing Stack overflow error
when i tried to simulate this in PROTEUS, i got some errors
[PIC18 STACK] PC=0x0038. Stack overflow is forcing device reset. [U1]
Here is my code..
Code (C):
- //Timer0, Prescaler 1:8; TMR0 Preload = 6; Actual Interrupt Time : 1 ms//
- #define Pulse LATB
- /***************Interrupt Service Routine for Timer1******************/
- void interrupt_Timer0_ISR()
- //void...
PROTEUS showing Stack overflow error