EPD_1in54g.h 940 B

123456789101112131415161718192021222324252627282930313233
  1. /*****************************************************************************
  2. * | File : EPD_1in54g.h
  3. * | Author : Waveshare team
  4. * | Function : 1inch54 e-paper (G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2024-08-07
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_1IN54G_H_
  13. #define __EPD_1IN54G_H_
  14. #include "DEV_Config.h"
  15. // Display resolution
  16. #define EPD_1IN54G_WIDTH 200
  17. #define EPD_1IN54G_HEIGHT 200
  18. // Color
  19. #define EPD_1IN54G_BLACK 0x0
  20. #define EPD_1IN54G_WHITE 0x1
  21. #define EPD_1IN54G_YELLOW 0x2
  22. #define EPD_1IN54G_RED 0x3
  23. void EPD_1IN54G_Init(void);
  24. void EPD_1IN54G_Init_Fast(void);
  25. void EPD_1IN54G_Clear(UBYTE color);
  26. void EPD_1IN54G_Display(const UBYTE *Image);
  27. void EPD_1IN54G_Sleep(void);
  28. #endif