mgbglasgow
Junior Member level 1
- Joined
- Jun 15, 2011
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,508
hi,
im using 16f1827 pic, and im trying to create an isr with 1 second cycle, i have 4mhz clock, can this be achieved readily with either timer 0 (8 bit) or timer1(16 bit) using prescalers, from what i have worked out so far longest delay i can get is 524ms? is this correct, ? how to fix? (change clock to 1mhz?)
sb
- - - Updated - - -
or can i use timer2? prescale and postscale options available, i read the datasheet,,,
im using 16f1827 pic, and im trying to create an isr with 1 second cycle, i have 4mhz clock, can this be achieved readily with either timer 0 (8 bit) or timer1(16 bit) using prescalers, from what i have worked out so far longest delay i can get is 524ms? is this correct, ? how to fix? (change clock to 1mhz?)
sb
- - - Updated - - -
hi,
im using 16f1827 pic, and im trying to create an isr with 1 second cycle, i have 4mhz clock, can this be achieved readily with either timer 0 (8 bit) or timer1(16 bit) using prescalers, from what i have worked out so far longest delay i can get is 524ms? is this correct, ? how to fix? (change clock to 1mhz?)
sb
or can i use timer2? prescale and postscale options available, i read the datasheet,,,