??? 09/16/06 13:21 Read: times |
#124406 - I'm a DUMMY Responding to: ???'s previous message |
Open Drain is obviously the way to go. Turns out (big surprise, right?) that my code wasn't so perfect after all. After setting the pin as open-drain, squirelly stuff happened. Remember how I said the first thing my program did on an interrupt was disable interrupts? Well, I seem to have lied. I was actually initializing variables and THEN disabling interrupts. So now I made it so the ISR just disables interrupts, then calls the scan routine, then enables interrupts again. Which of course is how I should have done it in the first place.
Well, that's how we learn I suppose.... Thanks for the help, Russell. |