Skip to content

927tang/zhao-tang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)