Write a full-screen RGB565 buffer to the display.
(self, buf)
| 114 | return bytes(buf) |
| 115 | |
| 116 | def display(self, buf): |
| 117 | """Write a full-screen RGB565 buffer to the display.""" |
| 118 | if not self._initialized: |
| 119 | self.init() |
| 120 | self._set_window(0, 0, self.width - 1, self.height - 1) |
| 121 | self._write_data_bulk(buf) |
| 122 | |
| 123 | def displayPartial(self, buf): |
| 124 | """TFT supports instant full-frame updates; treated same as display().""" |
no test coverage detected