Inky-Phat Display: How to make blank or clear display


#1

How do you clear or blank out the Inky-Phat display?
I would like to show a display, then blank it out, then display again.


#2

I’ll add a clear method for this in future, but for the time being you can paste an empty image or draw a blank rectangle, like so:

inkyphat.paste(inkyphat.Image.new('P', (inkyphat.WIDTH, inkyphat.HEIGHT)))