We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02967fd commit b52db27Copy full SHA for b52db27
CHANGELOG
@@ -15,12 +15,11 @@ v3.1.1
15
IODIR_ON: 0 -> 1
16
IODIR_OFF: 1 -> 0
17
18
- Remember the difference:
19
- # switch is unpressed
20
- pifacecommon.read_bit(0, INPUT_PORT)
21
- 1 # physical
22
- pifacedigitalio.PiFaceDigital().input_pins[0].value
23
- 0 # logical
+ Remember that PiFace Digital Inputs are active low:
+ >>> pifacecommon.read_bit(0, INPUT_PORT)
+ >>> 1 # physical
+ >>> pifacedigitalio.PiFaceDigital().input_pins[0].value
+ >>> 0 # logical
24
25
- Fixed Debian package bug where setup script would not be executed.
26
0 commit comments