Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/MattMatic/micropython-necir

NEC Infrared class for MicroPython board
https://github.com/MattMatic/micropython-necir

Last synced: 2 months ago
JSON representation

NEC Infrared class for MicroPython board

Lists

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