Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/i/pifacecad-HEAD/tests/test_irint.py   pifacecad(Download)
 
 
irfm = pifacecad.IRFunctionMap()
irfm.register(ir_code="1", callback=turn_backlight_on)
irfm.register(ir_code="2", callback=turn_backlight_off)