adafruit / adafruit/Adafruit_CircuitPython_FocalTouch
Occasionally has difficulty decoding packets
- Dominant language
- Python
- Stars
- 4
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
I've noticed this specifically with the 4" Square Display (https://www.adafruit.com/product/5808) and the Qualia ESP32-S3. It will work most of the time, but if let sit long enough (maybe 5 minutes or so), a runtime error will occur:
```
Traceback (most recent call last):
File "code.py", line 97, in
File "adafruit_focaltouch.py", line 137, in touches
RuntimeError: buffer size must match format
```
Also, `code.py` is just https://github.com/adafruit/Adafruit_CircuitPython_FocalTouch/blob/main/examples/focaltouch_paint_rgb666.py with the try and except lines removed.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with adafruit_focaltouch.py at the touches method and compare its packet handling with examples/focaltouch_paint_rgb666.py. Reproduce the failure on the 4" Square Display and Qualia ESP32-S3, then determine what prevents the buffer-size runtime error after the device has been idle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100