Yes, it was a floating pin! I had the same problem before but didn't cross my mind!
No it works great with input_pullup but I need to have a positive input for digital pin?
Yes, it was a floating pin! I had the same problem before but didn't cross my mind!
No it works great with input_pullup but I need to have a positive input for digital pin?