EPD_7in5h.h 1008 B

123456789101112131415161718192021222324252627282930313233
  1. /*****************************************************************************
  2. * | File : EPD_7in5h.h
  3. * | Author : Waveshare team
  4. * | Function : 7.5inch e-paper (G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2024-08-07
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_7IN5H_H_
  13. #define __EPD_7IN5H_H_
  14. #include "DEV_Config.h"
  15. // Display resolution
  16. #define EPD_7IN5H_WIDTH 800
  17. #define EPD_7IN5H_HEIGHT 480
  18. // Color
  19. #define EPD_7IN5H_BLACK 0x0
  20. #define EPD_7IN5H_WHITE 0x1
  21. #define EPD_7IN5H_YELLOW 0x2
  22. #define EPD_7IN5H_RED 0x3
  23. void EPD_7IN5H_Init(void);
  24. void EPD_7IN5H_Clear(UBYTE color);
  25. void EPD_7IN5H_Display(const UBYTE *Image);
  26. void EPD_7IN5H_DisplayPart(const UBYTE *Image, UWORD xstart, UWORD ystart, UWORD image_width, UWORD image_heigh);
  27. void EPD_7IN5H_Sleep(void);
  28. #endif