Hey guys i'm new to microcontrollers and in my class we were given this problem:
Program a PIC 12F629 to output a square wave that is as close to 400 times slower than your actual internal clock frequency [i.e 100 times slower than your actual instruction cycle time]
This is to be displayed on GP1. You must use Timer0 and you must use the interrupt capability of Timer0. Your program that gets interrupted by the timer can be just "self goto self"
I have no idea how to go about this and I am completely lost. Any help would be appreciated!
Thanks.
Program a PIC 12F629 to output a square wave that is as close to 400 times slower than your actual internal clock frequency [i.e 100 times slower than your actual instruction cycle time]
This is to be displayed on GP1. You must use Timer0 and you must use the interrupt capability of Timer0. Your program that gets interrupted by the timer can be just "self goto self"
I have no idea how to go about this and I am completely lost. Any help would be appreciated!
Thanks.