If i click button1 to switch the album its not working. It will switch only if the button is already press before i compile. For button2 if i press 5 seconds the pushbutton the image will freeze for 3 minutes. That part work. My question is it possible to move image_voiliers and image_yacht out of the scope of the class or the scope of the loop. I dont really understand why its not working. Cant solve what i dont understand.
If it is possible and extract the image from a file than i could use button1 gpio to choose with if statement between a image_voilier file or image_yatch file for example using io.
If it is possible and extract the image from a file than i could use button1 gpio to choose with if statement between a image_voilier file or image_yatch file for example using io.