From 8fb5ba43398511a5dfa4736f79cf4a15f80a2cde Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 22 Jan 2025 14:49:00 -0600 Subject: [PATCH] Export RGB565 framebuffer type --- src/pymain.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pymain.cpp b/src/pymain.cpp index 998bdfa..5e7ea6e 100644 --- a/src/pymain.cpp +++ b/src/pymain.cpp @@ -153,6 +153,14 @@ update the data actually displayed on the panel. Internally, the data is triple-buffered to prevent tearing. )pbdoc"); + m.def("AdafruitMatrixBonnetRGB565", + make_piomatter, + py::arg("buffer"), py::arg("geometry")) + //.doc() = "Drive panels connected to an Adafruit Matrix Bonnet using + // the RGB565 memory layout (4 bytes per pixel)" + ; + m.def("AdafruitMatrixBonnetRGB888", make_piomatter,