-
Notifications
You must be signed in to change notification settings - Fork 38
/
CHANGELOG
96 lines (78 loc) · 2.78 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Change Log
==========
v2.0.8
------
- Updated LIRC setup script so that it works for Kernel >= v3.18.5+
v2.0.7
------
- Fixed bug in sysinfo, using floats instead.
v2.0.6
------
- Added reference to examples location after installation instructions.
- Added included examples section in docs.
v2.0.5
------
- Fixed a bug in LCDQuestion.
v2.0.4
------
- Fixed a typo in the docs.
v2.0.3
------
- Updated documentation. Examples page, creating custom bitmaps and tools.
- Fixed bug in LCDQuestion.
v2.0.2
------
- Updated lirc docs.
v2.0.1
------
- Fixed init bug where display_control and other vars would not exist.
v2.0.0
------
- Updated for compatibility with pifacecommon v4.0.0.
- All occurrences of `board_num` have been replaced with `hardware_addr` which
is more appropriate.
- PiFace Control and Display is initialised when you instantiate the object.
**You do not need to call pifacecad.init() any more.**
- PiFaceCAD inherits registers from MCP23S17 so you can access all the
registers on the chip. For example GPPUP:
>>> cad = PiFaceCAD()
>>> cad.gppub.value = 0xff
>>> cad.gppub.bits[4].value = 1
- SwitchEventListener now requires that you provide a chip object, not
a hardware_addr (board_num). This defaults to PiFaceCAD(hardware_addr=0).
- Interrupt events contain a chip object representing the calling chip instead
of the hardware_addr (board_num). You can still access the
hardware_addr (board_num) like so:
>>> def my_callback(event):
... print(event.chip.hardware_addr)
- Removed the Switch class. It added arbitrary restrictions and
was not very useful. `pifacecommon.mcp23s17.MCP23S17RegisterBit` is more
appropriate.
- Updated examples to reflect new changes.
- See the docs (particularly the examples) for more information.
v1.1.3 *ignore*
---------------
- Fixed weather.py example (import sys).
v1.1.2 *ignore*
---------------
- Fixed toggle_mask bug and updated test_switches.
v1.1.1 *ignore*
---------------
- Updated for compatibility with pifacecommon v4.0.0.
*v2.0.0 note: this is a lie, the 4.0.0 version of pifacecommon that
this point talks about was never merged into master. Ignore all
versions of pifacecad up until v2.0.0*
v1.1.0
------
- Added bus and chip select.
- Added board detection and optional board initialisation.
- Added IODIR_FALLING_EDGE and IODIR_RISING_EDGE (see pifacecommon v3.1.1).
- Updated radio example to use a more sensible `prog` name for LIRC and to
use the custom lircrc file at the Debian examples location. Also added
mplayer detection and ability to operate without lirc configured.
- Fixed Python 2 support in tools.scanf.
- Limited support for some examples (Radio, Weather and Train Times are
Python 3 only). Feel free to add in support and submit a patch. :)
v1.0.0
------
- Initial release.