bananasiong
New Member
Hi,
I have some quick questions about timer:
1. When watchdog timer overflows, the PIC will reset, so it goes to org 0x0000 or somewhere else desired by the user? I think it will be at 0x0000 because it resets, just to confirm.
2. A timer (either 0, 1, 2 or 3) will keep running from 0 to full then back to 0 again without doing any setting in the program? For example, I need a random 8 bit number, so I simply take the value of tmr0 in anywhere of the program will do?
Thanks
I have some quick questions about timer:
1. When watchdog timer overflows, the PIC will reset, so it goes to org 0x0000 or somewhere else desired by the user? I think it will be at 0x0000 because it resets, just to confirm.
2. A timer (either 0, 1, 2 or 3) will keep running from 0 to full then back to 0 again without doing any setting in the program? For example, I need a random 8 bit number, so I simply take the value of tmr0 in anywhere of the program will do?
Thanks