|
Big Question concerning Interrupt Pins 3-6
Happy Monday to all!
I had a revelation while sitting in the shower....
We have two mechanical encoders on our bot. They have four output pins each. One is a ground, one is for the voltage or whatever, and the other two are signals. The two signals are offset by either 1/2 or 1/4 of a sine wave. At andy rate, they don't change at the exact same time.
So I was thinking.... Is there a way that I could combine the two signal wires into one and stick each encoder on one of the digital interrrupts (3-6) because they can detect a change in state? If I could it would make coding much much easier and it'd be sweeeeeeeeeet. I just don't know enough about the electric signal coming out of the encoder to be able to judge.
Thanks alot.
By the way.... Did anyone else wake up this morning and hope that Monday wasn't here ALREADY!!!!
__________________
Bill Rosemurgy - Aspiring Programmer and Human Player (stack of 8 in <10 seconds...oh yeah... but I can't shoot for crap.)
www.team857.com
|