EPD_2in13g.h 901 B

1234567891011121314151617181920212223242526272829303132
  1. /*****************************************************************************
  2. * | File : EPD_2in13g.h
  3. * | Author : Waveshare team
  4. * | Function : 2inch13 e-paper (G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2023-04-07
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_2IN13G_H_
  13. #define __EPD_2IN13G_H_
  14. #include "DEV_Config.h"
  15. // Display resolution
  16. #define EPD_2IN13G_WIDTH 122
  17. #define EPD_2IN13G_HEIGHT 250
  18. // Color
  19. #define EPD_2IN13G_BLACK 0x0
  20. #define EPD_2IN13G_WHITE 0x1
  21. #define EPD_2IN13G_YELLOW 0x2
  22. #define EPD_2IN13G_RED 0x3
  23. void EPD_2IN13G_Init(void);
  24. void EPD_2IN13G_Clear(UBYTE color);
  25. void EPD_2IN13G_Display(UBYTE *Image);
  26. void EPD_2IN13G_Sleep(void);
  27. #endif