Export RGB565 framebuffer type
This commit is contained in:
parent
b015674cb6
commit
8fb5ba4339
1 changed files with 8 additions and 0 deletions
|
|
@ -153,6 +153,14 @@ update the data actually displayed on the panel. Internally, the
|
||||||
data is triple-buffered to prevent tearing.
|
data is triple-buffered to prevent tearing.
|
||||||
)pbdoc");
|
)pbdoc");
|
||||||
|
|
||||||
|
m.def("AdafruitMatrixBonnetRGB565",
|
||||||
|
make_piomatter<piomatter::adafruit_matrix_bonnet_pinout,
|
||||||
|
piomatter::colorspace_rgb565>,
|
||||||
|
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",
|
m.def("AdafruitMatrixBonnetRGB888",
|
||||||
make_piomatter<piomatter::adafruit_matrix_bonnet_pinout,
|
make_piomatter<piomatter::adafruit_matrix_bonnet_pinout,
|
||||||
piomatter::colorspace_rgb888>,
|
piomatter::colorspace_rgb888>,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue