EPD_3in0g.h 891 B

1234567891011121314151617181920212223242526272829303132
  1. /*****************************************************************************
  2. * | File : EPD_3in0g.h
  3. * | Author : Waveshare team
  4. * | Function : 3inch e-paper (G)
  5. * | Info :
  6. *----------------
  7. * | This version: V1.0
  8. * | Date : 2022-07-15
  9. * | Info :
  10. * -----------------------------------------------------------------------------
  11. ******************************************************************************/
  12. #ifndef __EPD_3IN0G_H_
  13. #define __EPD_3IN0G_H_
  14. #include "DEV_Config.h"
  15. // Display resolution
  16. #define EPD_3IN0G_WIDTH 168
  17. #define EPD_3IN0G_HEIGHT 400
  18. //colour
  19. #define EPD_3IN0G_BLACK 0x00
  20. #define EPD_3IN0G_WHITE 0x55
  21. #define EPD_3IN0G_YELLOW 0xAA
  22. #define EPD_3IN0G_RED 0xFF
  23. void EPD_3IN0G_Init(void);
  24. void EPD_3IN0G_Clear(UBYTE color);
  25. void EPD_3IN0G_Display(UBYTE *Image);
  26. void EPD_3IN0G_Sleep(void);
  27. #endif