Why My gpio default value is 1? I have registered gpio 14 and gpio 45 as interrupt pins with direction 'in' and edge 'both'.
When I cat the value of gpio14 without giving any connection to it , it is 0. And on connecting a push button to it the value was changed to 1. and interrupt generated.
But in case of gpio45 , default value is 1 , and on connecting push button value was not changed. Also no interrupt generated.
Why it is so? Why two gpios behaves differently?