hello !
i'm a student currently studying MicroController Technology. i am doing a project that requires timer that counts up to 40 minutes and trigger some vibrators. then the timer can be reset once a certain puch button is deactivated. another 3 minutes timer is required for tha same PIC board too.
so, here are my problems:
1. how to write the codes for configuring the timer?
2. how to calculate the exact timing of 40 minutes (or 3 minutes) for the PIC? i have read through the notes given by lecturer, but i still can't figure them out. the notes aren't useful at all. can anyone suggest me where to get better info ( ebook etc)
3. how to reset the timer to 0?
there might be more questions when i start programming my project though... =( i hope someone can help me to solve this. X[ i'm really stress!!
i'm a student currently studying MicroController Technology. i am doing a project that requires timer that counts up to 40 minutes and trigger some vibrators. then the timer can be reset once a certain puch button is deactivated. another 3 minutes timer is required for tha same PIC board too.
so, here are my problems:
1. how to write the codes for configuring the timer?
2. how to calculate the exact timing of 40 minutes (or 3 minutes) for the PIC? i have read through the notes given by lecturer, but i still can't figure them out. the notes aren't useful at all. can anyone suggest me where to get better info ( ebook etc)
3. how to reset the timer to 0?
there might be more questions when i start programming my project though... =( i hope someone can help me to solve this. X[ i'm really stress!!