Sitelet https://github.com/gpiozero/gpiozero/issues/1168
Skip to content

Multiple problems with LEDMultiCharDisplay #1168

Description

@etam

Operating system: Raspbian Bookworm
Python version: 3.11.2
Pi model: 3 Model B Rev 1.2
GPIO Zero version: 2.0
Pin factory used: lgpio

The code:

from time import sleep
from gpiozero import LEDCharDisplay, LEDMultiCharDisplay

pin1  = "BOARD15"
pin2  = "BOARD19"
pin3  = "BOARD21"
pin4  = "BOARD23"
pin5  = "BOARD27"
pin6  = "BOARD28"
pin7  = "BOARD26"
pin8  = "BOARD24"
pin9  = "BOARD22"
pin10 = "BOARD18"
c = LEDCharDisplay(pin3, pin9, pin8, pin6, pin7, pin4, pin1, dp=pin2)
d = LEDMultiCharDisplay(c, pin5, pin10)

for v in ["09", "10", "11", "12"]:
    d.value = v
    sleep(1)
d.off()
sleep(1)

The result: https://github.com/user-attachments/assets/12c97de6-8696-44d3-9b96-0a7e903f4aea

  • When displaying two the same digits (no matter if it's "11" or anything else) the display goes blank.
  • After d.off() it displays something weird.
  • (not visible on the video) When displaying "12" there is a dim ghost of "2" showing up on "1" and vice versa.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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