Skip to content

Buttons work, but 5.7" e-paper display doesn't (UserWarning: Busy Wait: Held high. Waiting for 1.00s) #248

@edubsky

Description

@edubsky

Hi,

I'm trying to get my inky impression 5.7" to work. I can get the buttons.py script to work - detected when the A, B, C & D buttons are pressed, but I can't get any of the other example scripts to work which should update the display itself.

My setup:
Raspberry Pi Zero W
Operating System: Raspbian GNU/Linux 12 (bookworm)
Kernel: Linux 6.12.47+rpt-rpi-v6
Architecture: arm

Inky 600x448 pixels 5.7" e-paper display

Error message:

(pimoroni) eoin@pi:~/Pimoroni/inky/examples/7color $ python clear.py
Detected 7-Colour (UC8159)
/home/eoin/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_uc8159.py:331: UserWarning: Busy Wait: Held high. Waiting for 1.00s
  warnings.warn(f"Busy Wait: Held high. Waiting for {timeout:0.2f}s")
/home/eoin/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_uc8159.py:331: UserWarning: Busy Wait: Held high. Waiting for 0.20s
  warnings.warn(f"Busy Wait: Held high. Waiting for {timeout:0.2f}s")
/home/eoin/.virtualenvs/pimoroni/lib/python3.11/site-packages/inky/inky_uc8159.py:337: UserWarning: Busy Wait: Timed out after 0.20s
  warnings.warn(f"Busy Wait: Timed out after {timeout:0.2f}s")

The clear.py script is simply:

#!/usr/bin/env python3

import time

from inky.auto import auto
from inky.inky_uc8159 import CLEAN

inky = auto(ask_user=True, verbose=True)

for _ in range(2):
    for y in range(inky.height - 1):
        for x in range(inky.width - 1):
            inky.set_pixel(x, y, CLEAN)

    inky.show()
    time.sleep(1.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions