I need to build a loop which elapses exactly one second, and while time passes, a separate counter must be incremented.
At the end of the second, I need to know the value of the counter, which started from 0.
I'm not very familiar with PIC instruction set, can anybody give me some tips?
How do I know how long any instruction take to be executed?
How do I test if 1 second is passed?
At the end of the second, I need to know the value of the counter, which started from 0.
I'm not very familiar with PIC instruction set, can anybody give me some tips?
How do I know how long any instruction take to be executed?
How do I test if 1 second is passed?