EPD_4in2g.h 939 B

123456789101112131415161718192021222324252627282930313233
  1. /*****************************************************************************
  2. * | File : EPD_4in2g.h
  3. * | Author : Waveshare team
  4. * | Function : 4inch2 e-paper (G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2025-01-07
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_4IN2G_H_
  13. #define __EPD_4IN2G_H_
  14. #include "DEV_Config.h"
  15. // Display resolution
  16. #define EPD_4IN2G_WIDTH 400
  17. #define EPD_4IN2G_HEIGHT 300
  18. // Color
  19. #define EPD_4IN2G_BLACK 0x0
  20. #define EPD_4IN2G_WHITE 0x1
  21. #define EPD_4IN2G_YELLOW 0x2
  22. #define EPD_4IN2G_RED 0x3
  23. void EPD_4IN2G_Init(void);
  24. void EPD_4IN2G_Clear(UBYTE color);
  25. void EPD_4IN2G_Display(const UBYTE *Image);
  26. void EPD_4IN2G_Display_1(const UBYTE *Image);
  27. void EPD_4IN2G_Sleep(void);
  28. #endif