Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1241

Python • Re: Symptom: SOC peripheral base address error when using tm1637 package

$
0
0
...
After doing some googling, I saw that the raspi 5 is not supported by some packages. Is that true? Is there a workaround?
I am using Raspberry Pi OS based on Debian 12 Bookworm

thanks in advance.
Yes. If it's this one:
https://github.com/depklyon/raspberrypi-tm1637

It uses RPi.GPIO to drive the pins that send data to the display. Unfortunately RPi.GPIO does not work on a Pi 5. There may be other libraries for the TM1637, but most likely they will all rely on RPi.GPIO.

You have three choices:
1. Use a different Pi model (anything but 5)
2. Write your own TM1637 library using a different GPIO library (it's going to be gpiozero)
3. Modify the existing library to use gpiozero

It's an easy display to drive, but modifying the existing library gives you a lot of structure you can re-use. You can do it yourself, or pay someone, or encourage someone to do it for free.

Statistics: Posted by ame — Sat Mar 01, 2025 8:59 am



Viewing all articles
Browse latest Browse all 1241

Trending Articles