i need to know how to compute the timer of pic, please help

Status
Not open for further replies.

rosario15

Newbie level 4
Joined
Jan 21, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
philippines
Activity points
1,305
help,. pic16f84a

how do i know if the 1s delay on the code of the pic is the same on the real time that will be going to be the output??? please lend me any computation also,. i need to know how to compute the timer of it.
 

Re: help,. pic16f84a

The easiest way is to use the stopwatch in mplab sim.
You could put a scope probe on the output pin and toggle it.
To calculate it, you need to know the instruction time, and count the number of instructions between switching the output, remembering that it takes two instructions for a branch.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…