Searching \ for 'Port b int on change' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ios.htm?key=port
Search entire site for: 'Port b int on change'.

Truncated match.
PICList Thread
'Port b int on change'
1996\08\06@170407 by Brad Pousland

flavicon
face
Re:16c84

Trying to impliment interrupt on change service routine.  This routine takes
control from a loop that is timed with tmr0.  Every time a portb input pin
goes from low to high, the tmr0 controlled loop goes faster.  Is the tmr
affected by such load variances?

Brad

1996\08\06@172512 by Mark K Sullivan

flavicon
face
It's gotta be your firmware.

- Mark Sullivan -

1996\08\07@071301 by fastfwd

face
flavicon
face
Brad Pousland <spam_OUTPICLISTTakeThisOuTspamMITVMA.MIT.EDU> wrote:

> Trying to impliment interrupt on change service routine.  This
> routine takes control from a loop that is timed with tmr0.  Every
> time a portb input pin goes from low to high, the tmr0 controlled
> loop goes faster.  Is the tmr affected by such load variances?

Brad:

No.  The problem is undoubtedly in your code.  My guess is that
you're either:

1.  Failing to check/clear the interrupt flags, or
2.  Failing to properly save/restore the W and STATUS registers in
   your interrupt service routine.

-Andy

Andrew Warren - .....fastfwdKILLspamspam@spam@ix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geocities.com/SiliconValley/2499

More... (looser matching)
- Last day of these posts
- In 1996 , 1997 only
- Today
- New search...