Repository navigation
Adds an experimental refresh speed option to the Spectra 6 drivers (4.0", 7.3" and 13.3"), and cuts most of the fixed overhead out of show().
Speed option (experimental)
speed=Inky.NORMAL (default), Inky.MEDIUM or Inky.FAST, as a constructor argument or by setting inky.speed. FAST is roughly twice as quick as NORMAL.
This is experimental. The default stays NORMAL, so anyone who doesn't set speed sees no change. Caveats:
- Colours shift at FAST. On the 7.3", green turns olive and blue comes out much lighter. On a 13.3" (non-AC), green looked brownish-olive at FAST. MEDIUM is a milder compromise.
- Long-term effects are unknown. Ghosting, image retention and panel lifetime at the higher frame rates haven't been evaluated.
show() speed-up
- Removed the 0.3s sleep before every command in
_send_command(about 26 commands per update) - Raised SPI from 1MHz to 10MHz on the 7.3" and 4.0"
- Fixed the EL133UF1
_busy_wait. BUSY on the 13.3" is active-low.
Other fixes
- Creating the 13.3" driver directly (without
auto()) no longer crashes on a non-AC board - e640 busy wait uses
time.monotonic(), in line with the other drivers
Timings
| Panel | Refresh NORMAL / MEDIUM / FAST | show() overhead before → after |
|---|---|---|
| 7.3" E673 AC | 29.6s / 22.9s / 15.0s | 8.3s → 1.2s |
| 13.3" EL133UF1 AC | 19.6s / 13.2s / 8.4s | 8.7s → 1.5s |
| 13.3" EL133UF1 (non-AC) | 19.4s / 12.9s / 8.1s | 1.5s |
| 4.0" E640 | 19.4s / 15.0s / 9.9s | 6.8s → 0.9s |
What's Changed
Full Changelog: v2.5.0...v2.6.0