| 12345678910111213141516171819 |
- // Pattern B diagnostic capture for GxEPD2_290c_GDEY029F51 (JD79667, 4-color,
- // packed 2bpp, single region). Driver header first (defines GxEPD_* macros +
- // the WIDTH/HEIGHT GxEPD2_4C.h references unqualified), then the 4C wrapper,
- // then the harness. Host-only; derives the 2bpp palette + packing order.
- #include "epd4c/GxEPD2_290c_GDEY029F51.h"
- constexpr int16_t WIDTH = GxEPD2_290c_GDEY029F51::WIDTH;
- constexpr int16_t HEIGHT = GxEPD2_290c_GDEY029F51::HEIGHT;
- #include "GxEPD2_4C.h"
- #include "run_diagB_harness.h"
- using Driver = DiagBPeek<GxEPD2_290c_GDEY029F51>;
- using Wrapper = GxEPD2_4C<Driver, GxEPD2_290c_GDEY029F51::HEIGHT>;
- int main() {
- run_diagB<Wrapper, Driver>("GxEPD2_290c_GDEY029F51", WIDTH, HEIGHT, 2);
- return 0;
- }
|