https://github.com/MattMatic/micropython-necir
  
  
    NEC Infrared class for MicroPython board 
    https://github.com/MattMatic/micropython-necir
  
        Last synced: 7 months ago 
        JSON representation
    
NEC Infrared class for MicroPython board
- Host: GitHub
- URL: https://github.com/MattMatic/micropython-necir
- Owner: MattMatic
- License: mit
- Created: 2015-04-27T13:19:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-27T13:21:06.000Z (over 10 years ago)
- Last Synced: 2024-12-06T22:28:14.637Z (11 months ago)
- Language: Python
- Size: 97.7 KB
- Stars: 15
- Watchers: 3
- Forks: 9
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
- awesome-micropython - micropython-necir - NEC infrared capture for TL1838 IR receiver LEDs. (Libraries / Communications)
- awesome-mpython - micropython-necir - NEC infrared capture for TL1838 IR receiver LEDs. (精选驱动库 / 通讯类)
README
          # micropython-necir
NEC InfraRed receiver class for MicroPython
# Usage
    def nec_cb(nec, a, c, r)
        print(a, c, r)				# Address, Command, Repeat
    from necir import NecIr
    nec = NecIr()
    nec.callback(nec_cb)
# History
2015-04-27 Initial upload