python Raspberry Pi double occupancy of GPIO
I have a Raspberry Pi with an Display and Buttons (here). And I have a program, that uses the Library (in the appendix) from the Display. The program creates a home screen with dynamic apps. Each app consists of a folder in an “Apps” folder. This contains a 25×25 pixel PNG file, which is required for the home screen, and a .py file, which contains the program code. The newest code from the main program is this;