I used another script, showing 0 or 1 every 0.1 second and I tested it with several GPIO, this is what I get:
Code:
1
1
0
1
0
1
1
0
1
0
1
1
0
1
0
1
0
0
1
0
1
0
1
1
0
1
0
1
1
0
0
1
1