]> sigrok.org Git - libsigrokdecode.git/blob - decoders/rc_encode/__init__.py
Add a CFP decoder.
[libsigrokdecode.git] / decoders / rc_encode / __init__.py
1 ##
2 ## This file is part of the libsigrokdecode project.
3 ##
4 ## Copyright (C) 2018 Steve R <steversig@virginmedia.com>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, see <http://www.gnu.org/licenses/>.
18 ##
19
20 '''
21 This PD decodes the remote control protocol which is frequently used
22 within key fobs and power socket remotes.
23
24 They contain encoding chips like the PT2262 which converts the button
25 pressed and address settings into a series of pulses which is then
26 transmitted over whatever frequency and modulation that the designer
27 chooses. These devices operate at a number of frequencies including 433MHz.
28
29 This PD should also decode the HX2262 and SC5262 which are equivalents.
30
31 The decoder also contains some additional decoding for a Maplin L95AR
32 remote control and will turn the received signal into which button was
33 pressed and what the address code DIP switches are set to.
34 '''
35
36 from .pd import Decoder