This pull request includes several updates to the Raspberry Pi word clock project, focusing on enhancing the installation script and improving the GIF display functionality. The most important changes include adding checks and steps to the installation script and refining the GIF display logic to handle transparency.
Installation Script Enhancements:
raspberry-pi/install.sh: Added checks to remove an existing service before creating a new one, and included steps to enable, start, and check the status of the service. [1][2]
GIF Display Improvements:
raspberry-pi/src/wordclock/gif.py: Modified the update_led_pixels function to handle transparency in GIFs and added a background_color parameter to the display_gif function to set the background color for transparent pixels.
This pull request includes several updates to the Raspberry Pi word clock project, focusing on enhancing the installation script and improving the GIF display functionality. The most important changes include adding checks and steps to the installation script and refining the GIF display logic to handle transparency.
Installation Script Enhancements:
raspberry-pi/install.sh
: Added checks to remove an existing service before creating a new one, and included steps to enable, start, and check the status of the service. [1] [2]GIF Display Improvements:
raspberry-pi/src/wordclock/gif.py
: Modified theupdate_led_pixels
function to handle transparency in GIFs and added abackground_color
parameter to thedisplay_gif
function to set the background color for transparent pixels.