EPD_1in64g.h 906 B

1234567891011121314151617181920212223242526272829303132
  1. /*****************************************************************************
  2. * | File : EPD_1in64g.h
  3. * | Author : Waveshare team
  4. * | Function : 1.64inch e-paper(G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2022-07-14
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_1IN64G_H_
  13. #define __EPD_1IN64G_H_
  14. #include "DEV_Config.h"
  15. // Display resolution
  16. #define EPD_1IN64G_WIDTH 168
  17. #define EPD_1IN64G_HEIGHT 168
  18. //colour
  19. #define EPD_1IN64G_BLACK 0x00
  20. #define EPD_1IN64G_WHITE 0x55
  21. #define EPD_1IN64G_YELLOW 0xAA
  22. #define EPD_1IN64G_RED 0xFF
  23. void EPD_1IN64G_Init(void);
  24. void EPD_1IN64G_Clear(UBYTE color);
  25. void EPD_1IN64G_Display(UBYTE *Image);
  26. void EPD_1IN64G_Sleep(void);
  27. #endif