I have an timer application that needs to be visible on two monitors and be reset by a foot pedal. The screens are a 7" Pi touchscreen (DSI) and a HDMI monitor. I can only get these to behave properly under the latest Pi OS (bookworm). Unfortunately the GPIO library and wiringPi don’t work with that version of the OS. As a sanity check I I built a version of my program that runs on Buster and all works great with the old GPIO/winringPi stuff…
So I bought Eugene Dakin’s excellent book and tried pigpiod. Following the instructions on page 29 I tried to get the quickstart example running. The only variation was bringing in the latest pigpoid module (pigpio(7Jan2021).xojo_binary_code) to Example05-02-API2.xojo_binary_project. So far no luck!
It’s a Pi 4B
Here is some screen output:
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 12 (bookworm)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“12”
VERSION=“12 (bookworm)”
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
pi@raspberrypi:~ $ sudo apt-get install libunwind8
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
libunwind8 is already the newest version (1.6.2-3).
libunwind8 set to manually installed.
The following packages were automatically installed and are no longer required:
libcamera-apps libcamera0.0.5 libpisp0.0.1
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo systemctl enable pigpiod
Created symlink /etc/systemd/system/multi-user.target.wants/pigpiod.service → /lib/systemd/system/pigpiod.service.
pi@raspberrypi:~ $ sudo systemctl daemon-reload
pi@raspberrypi:~ $ sudo systemctl status pigpiod
- pigpiod.service - Daemon required to control GPIO pins via pigpio
Loaded: loaded (;;file://raspberrypi/lib/systemd/system/pigpiod.service/lib/systemd/system/pigpiod.service;;; enabled; preset: enabled)
Active: inactive (dead)
pi@raspberrypi:~
Yes, I rebooted several times…
I’m fairly sure if I can get past whatever problem I’m having with the example not lighting an LED I can get my program working.
What to do?