MattMatic / micropython-necir

NEC Infrared class for MicroPython board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

NEC Infrared class for MicroPython board

License:MIT License


Languages

Language:Python 100.0%