10.3.3 Reload image file ( Redefine the display buffer )

We use RPiSpark.Screen.redefineBuffer( aPILImage ) to redefine a new display buffer to replace the original display buffer, then call RPiSpark.Screen.refresh() to display the new image.

def _showImage(self):
    self.RPiSpark.Screen.redefineBuffer( aPILImage )
    self.RPiSpark.Screen.refresh()

 

Was this article helpful?

YES     |     NO

 

Enjoying the project? Spotted a mistake? Any opinions on the website? Let us know!