adafruit / adafruit/Adafruit_CircuitPython_IRRemote

Last value showing up divided by 2

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
29
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Re this thread:
https://forums.adafruit.com/viewtopic.php?f=58&t=169004

Can recreate using two CPXs, one running this TX demo:
https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/blob/main/examples/circuitplayground_ir_transmit.py
and one running this RX demo:
https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/blob/main/examples/circuitplayground_ir_receive.py

CircuitPython 5.3.1 with library bundle adafruit-circuitpython-bundle-5.x-mpy-20200901.zip.

This is what shows up on the RX side:
```python
Adafruit CircuitPython 5.3.1 on 2020-07-13; Adafruit CircuitPlayground Express with samd21g18
>>>
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Infrared code received: [66, 84, 78, 32]
Infrared code received: [66, 84, 78, 32]
Infrared code received: [66, 84, 78, 32]
Infrared code received: [66, 84, 78, 32]
```
The sequences being TX'd are `[66, 84, 78, 65]` and `[66, 84, 78, 64]`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running examples/circuitplayground_ir_transmit.py and examples/circuitplayground_ir_receive.py on two CircuitPlayground Express boards, using the versions listed in the issue. Compare the transmitted [66, 84, 78, 65] and [66, 84, 78, 64] sequences with the received output; done means the final value is received unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.