Re: Interrupts question
Another thing that spring to mind, are you expecting a low to high pulse on PORTB.1 or a high to low pulse?
If you expect a LOW to HIGH, then you should clear PORTB.1 at the beginning of your code, and set it it you expect a High to low one.
It's always a good idea to set the idle state of any PORT pin as the initial state might be unknown.
Last edited by Archangel; - 11th August 2011 at 02:59.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks