View Single Post
  #3   Spotlight this post!  
Unread 31-01-2008, 18:11
cprogrammer's Avatar
cprogrammer cprogrammer is offline
Registered User
FRC #1595 (Gremlins)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Washington
Posts: 42
cprogrammer will become famous soon enoughcprogrammer will become famous soon enough
Re: Ganged Interrupt Edge Detection

Quote:
If enabled, all four fire off on both edges. If you are interested in executing an ISR on only one edge, just examine the state of the pin in the ISR and execute your code only when it is at the right logic level (e.g., if it's a one, a rising edge just happened). If you're using my code, I pass the logic level into the ISR for you.

-Kevin
How should I go about reading that logic level?
-Stephen