inky icon indicating copy to clipboard operation
inky copied to clipboard

Add tests for set_image.

Open Gadgetoid opened this issue 1 year ago • 3 comments

This change attempts to test for the Inky wHAT set_image display issue mentioned in #182 and tries to determine if the internal buffer is set correctly.

Testing

If you want to test this branch, make sure you're running in the virtual environment to which you installed Inky and run:

pip install git+https://github.com/pimoroni/inky@patch-inky-resolution-test --force-reinstall

That should replace your version of the Inky library with the experimental version on this branch!

Gadgetoid avatar Apr 10 '24 13:04 Gadgetoid

@Gadgetoid this fix works on my wHAT, since it removes the funky flipped cols and rows.

stonehippo avatar Apr 14 '24 17:04 stonehippo

Confirmed this fix works on my wHAT (examples/logo.py), however the SPI error remains:

Detected Yellow wHAT
/home/pi/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky.py:254: UserWarning: SPI: Cannot disable chip-select!
  warnings.warn("SPI: Cannot disable chip-select!")

/boot/firmware/config.txt contains:

[all]
dtoverlay=i2c1
dtoverlay=i2c1-pi5
dtoverlay=spi0-0cs

BryanH avatar Jul 31 '24 17:07 BryanH

Just posting here to confirm that it fixes the issues on the gpiod branch I was having with my inkyWhat display

pipplo avatar Aug 15 '24 05:08 pipplo