Skip to content

Commit b52db27

Browse files
author
Thomas Preston
committed
made the changelog more clear
1 parent 02967fd commit b52db27

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

CHANGELOG

+5-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ v3.1.1
1515
IODIR_ON: 0 -> 1
1616
IODIR_OFF: 1 -> 0
1717

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
18+
Remember that PiFace Digital Inputs are active low:
19+
>>> pifacecommon.read_bit(0, INPUT_PORT)
20+
>>> 1 # physical
21+
>>> pifacedigitalio.PiFaceDigital().input_pins[0].value
22+
>>> 0 # logical
2423

2524
- Fixed Debian package bug where setup script would not be executed.
2625

0 commit comments

Comments
 (0)