About PIC, is there a possibility to include a timer(like a clock) inside a PIC so it will know when it will execute a command in specified time. Because Im making a project that is time based, for example : on a specific time of a day
I need the LED to turn ON lets say 8:00AM and when it is 9:30AM the LED would turn off. how could I make the PIC conscious that its 8:00AM to turn the LED ON and 9:30AM to let it turn OFF the LED?
Is it with the use of interrupts??, if you do know some example related to this would you kindly post it?
I understand that the PAUSE command isn't the best answer for my problem.
Im using PIC16F628A
I need the LED to turn ON lets say 8:00AM and when it is 9:30AM the LED would turn off. how could I make the PIC conscious that its 8:00AM to turn the LED ON and 9:30AM to let it turn OFF the LED?
Is it with the use of interrupts??, if you do know some example related to this would you kindly post it?
I understand that the PAUSE command isn't the best answer for my problem.
Im using PIC16F628A