run_290c_gdey029f51_diagB.cpp 742 B

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