EPD_2in15g.h 926 B

123456789101112131415161718192021222324252627282930313233
  1. /*****************************************************************************
  2. * | File : EPD_2in15g.h
  3. * | Author : Waveshare team
  4. * | Function : 2inch15 e-paper (G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2024-08-07
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_2IN15G_H_
  13. #define __EPD_2IN15G_H_
  14. #include "Debug.h"
  15. #include "DEV_Config.h"
  16. // Display resolution
  17. #define EPD_2IN15G_WIDTH 160
  18. #define EPD_2IN15G_HEIGHT 296
  19. // Color
  20. #define EPD_2IN15G_BLACK 0x0
  21. #define EPD_2IN15G_WHITE 0x1
  22. #define EPD_2IN15G_YELLOW 0x2
  23. #define EPD_2IN15G_RED 0x3
  24. void EPD_2IN15G_Init(void);
  25. void EPD_2IN15G_Clear(UBYTE color);
  26. void EPD_2IN15G_Display(const UBYTE *Image);
  27. void EPD_2IN15G_Sleep(void);
  28. #endif