Skip to main content

Inkplate 6MOTION - Display modes

As mentioned on the previous page, Inkplate 6MOTION has two different display modes: black and white (1-bit) mode and grayscale (4-bit) mode. This page contains more information on both.


Black and white mode

1-bit or black and white mode is the simpler and faster display mode. In this mode, pixels are either black or white. You can use shorthand defines BLACK and WHITE when selecting colors in this mode. For example, to draw and display a single black and a single white pixel:

inkplate.begin(INKPLATE_BLACKWHITE);

// Draw a black pixel at x=100, y=100
inkplate.drawPixel(100, 100, BLACK);
// Draw a white pixel at x=200, y=100
inkplate.drawPixel(200, 100, WHITE);

inkplate.display(); // Show on the display
ℹ️
The clear e-Paper, the blank canvas, is WHITE in this context. The white pixel in the above code snippet will not be visible when drawn on an already clear screen.

Grayscale mode

In 4-bit or grayscale mode you get 16 levels of brightness instead of only black and white. Below is an approximate visualization of those levels and the numerical value each one has in code:

4bit grayscale
Black levels in 4-bit mode

Let's draw a couple of pixels of different brightness levels:

inkplate.begin(INKPLATE_GRAYSCALE);

// Draw a couple of different pixels in a horizontal line
inkplate.drawPixel(100, 100, 1);
inkplate.drawPixel(200, 100, 4);
inkplate.drawPixel(300, 100, 8);
inkplate.drawPixel(400, 100, 13);

inkplate.display(); // Show on the display

Full examples

Inkplate_6_Motion_Simple_BW.ino

Full example using black and white display mode on Inkplate 6MOTION.

Inkplate_6_Motion_Simple_Grayscale.ino

Full example using grayscale display mode on Inkplate 6MOTION.