Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 319 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 319 Bytes

Micropython-necir

NEC IR remote reciever class for Pyboard, ESP(Micropython)

Usage

def nec_cb(nec, a, c, r)
    print(a, c, r)				# Address, Command, Repeat

   from necir-xxx import NecIr                     # replace the -xxx with pyboard or esp nec = NecIr() nec.callback(nec_cb)