Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Lirc get key from lirc.nextcode()

Sat May 21, 2016 1:46 pm

Hello, I try to make python-program with lirc reciever:

Code: Select all

import lirc
while 1:
 slideTo = None
 sockid = lirc.init("myprogram2", blocking = False)
 codeIR = lirc.nextcode()
 print (codeIR)
But I get: [] instead of config. How i can resolve this problem?

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Lirc get key from lirc.nextcode()

Sat May 21, 2016 9:39 pm

Any ideas? May be lirc-1.21 has bug? How install previous version of lirc?

Return to “Beginners”