Inkplate 13SPECTRA MicroPython - Initialization and display update
Initializing Inkplate
Here is a basic Inkplate object creation and display initialization which we will use in every example in following tutorials:
# Include all the required libraries
from inkplate13SPECTRA import Inkplate
# Create Inkplate object
display = Inkplate()
# Initialize the display, needs to be called only once
display.begin()
# Clear the display buffer
display.clearDisplay()
# Draw what is currently in frame buffer, needs to be called to update the display
display.display()
inkplate=Inkplate()
Creates the Inkplate object.
inkplate.begin()
Initializes the display, this must be called only once after creating the Inkplate object.
inkplate.clearDisplay()
Clears the internal frame buffer (does not change the panel until you update).
inkplate.display()
Performs a full-screen refresh, sending the current frame buffer to the panel.