run_565c_diagB.cpp 655 B

12345678910111213141516171819
  1. // Pattern B diagnostic capture for GxEPD2_565c (ACeP 7-colour, 600x448,
  2. // packed 4bpp, 2 px/byte). Host-only: validates the 7-colour palette +
  3. // packing derivation against the vendored driver, no hardware - we have no
  4. // 565c descriptor/panel yet, so this is pure capture groundwork.
  5. #include "epd7c/GxEPD2_565c.h"
  6. constexpr int16_t WIDTH = GxEPD2_565c::WIDTH;
  7. constexpr int16_t HEIGHT = GxEPD2_565c::HEIGHT;
  8. #include "GxEPD2_7C.h"
  9. #include "run_diagB_harness.h"
  10. using Driver = DiagBPeek<GxEPD2_565c>;
  11. using Wrapper = GxEPD2_7C<Driver, GxEPD2_565c::HEIGHT>;
  12. int main() {
  13. run_diagB<Wrapper, Driver>("GxEPD2_565c", WIDTH, HEIGHT, 4);
  14. return 0;
  15. }