adafruit / adafruit/Adafruit_CircuitPython_RA8875
The arguments for set_window in RA8875Display class do not work as described.
- Dominant language
- Python
- Stars
- 3
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
The width and height parameters are not actually the width and the height of the window. If you set them both to 0 the windows is actually 1 pixel wide by 1 pixel high.
I believe either the description should be changed or the math should subtract 1 from the width and height when writing to the HEAW0 and VEAW0 respectively.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the set_window method in the RA8875Display class and inspect how its width and height arguments are written to HEAW0 and VEAW0. Compare that behavior with the documented argument semantics, especially when both values are zero. Done means the implementation or description consistently reflects the intended window dimensions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100