Hi,
For Portb.1 ...
you've declared it as an Input ... and drive a led with it ... so, it's an OUTPUT !!!
...
I think the Interrupt problem could be here ... I remember a thread explainining a Change in the I/Os disabled the Pullups ...
YESS it is !!! ... just over Fig 3.3 of the Datasheet ...
Tadaaaaaaa ..... one RTFM for you !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks