Quote Originally Posted by flotulopex View Post
Hello Sougata,
Thanks for your code (I copied/pasted it without any change and worked!!!). Unfortunately, the Led0 is still blinking.
I made a code (also based on the Tips & Tricks) very similar to yours and had the same result.
As one can multiplex 6 Leds with only 3 pins, I thought I could do something similar with buttons on 1 port.
After a lots of trials, I think it is not feasable... or I still miss something.
As already said, I don't care about the Z state. Only both "0" and "1" states would be used.
Curious...why are you worried about the 'Z' state?
Is it the fact that it can 'hover' around the trip point and cause false readings if left open?