File tree 3 files changed +26
-3
lines changed
3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1
1
Change Log
2
2
==========
3
3
4
+ v3.1.1
5
+ ------
6
+ - Added IODIR_FALLING_EDGE and IODIR_RISING_EDGE to replace IODIR_ON and
7
+ IODIR_OFF respecitvley. IODIR_ON and IODIR_OFF can still be used in the same
8
+ way as before. Falling/Rising Edge are for physical level 1/0, On/Off are for
9
+ logical (programmer) level 1/0.
10
+
11
+ Physical Level (pifacecommon.read_bit):
12
+ IODIR_FALLING_EDGE: 1 -> 0
13
+ IODIR_RISING_EDGE: 0 -> 1
14
+ Logical Level (pifacedigitalio.PiFaceDigital().input_pins[0].value):
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
24
+
25
+ - Fixed Debian package bug where setup script would not be executed.
26
+
4
27
v3.1.0
5
28
------
6
29
- Added debouncing with adjustable `settle time`.
Original file line number Diff line number Diff line change 19
19
20
20
21
21
# interrupts
22
- IODIR_ON = 0
23
- IODIR_OFF = 1
22
+ IODIR_FALLING_EDGE = IODIR_ON = 0
23
+ IODIR_RISING_EDGE = IODIR_OFF = 1
24
24
IODIR_BOTH = None
25
25
# IN_EVENT_DIR_OFF = INPUT_DIRECTION_OFF = 1
26
26
# IN_EVENT_DIR_BOTH = INPUT_DIRECTION_BOTH = None
Original file line number Diff line number Diff line change 1
- __version__ = '3.1.0 '
1
+ __version__ = '3.1.1 '
You can’t perform that action at this time.
0 commit comments