We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cyborg5, thank for creating this library.
I using the GEMMA M0 using CircuitPython 3.0.2 Sep 14, 2018.
example/decode_single.py
The first IRRemote buffer is received, but all subsequent buffers are empty and getResults returns fail.
After making the following changes, i was able to receive subsequent buffer without failure.
I changed IRrecvPCI:
in init
def __init__(self, pin): self.recvPin = pin self.markExcess= 50 self.recvBuffer = None
in enableIRIn:
def enableIRIn(self): if self.recvBuffer is None: self.recvBuffer = pulseio.PulseIn(self.recvPin, maxlen=150, idle_state=True) self.prevLength=0
in getResults: I replaced the self.recvBuffer.deinit() with:
self.recvBuffer.clear() self.recvBuffer.resume()
Let me know if I can help.
The text was updated successfully, but these errors were encountered:
fixed receive buffer thing.
1c9bee8
based on cyborg5#7 (comment)
Modified IRrecvPCI.py
b43fb50
Made changes to fix buffer problem based on cyborg5/IRLibCP#7
No branches or pull requests
Cyborg5, thank for creating this library.
I using the GEMMA M0 using CircuitPython 3.0.2 Sep 14, 2018.
example/decode_single.py
The first IRRemote buffer is received, but all subsequent buffers are empty and getResults returns fail.
After making the following changes, i was able to receive subsequent buffer without failure.
I changed IRrecvPCI:
in init
in enableIRIn:
in getResults: I replaced the self.recvBuffer.deinit() with:
Let me know if I can help.
The text was updated successfully, but these errors were encountered: