1. Use '''gpiod''' instead of obsolete interface
2. The script now supports the Raspberry Pi OS '''Trixie''' and '''BOOKWORM''' version. You just need to '''uninstall''' the original script and '''reinstall''' it. Please refer to the following:
OPen ternimal window, then run the following command: