mirror of
https://github.com/goodtft/LCD-show.git
synced 2024-12-03 23:24:16 +01:00
27 lines
473 B
C
27 lines
473 B
C
#pragma once
|
|
|
|
#ifdef HX8357D
|
|
|
|
// Data specific to the HX8357D controller
|
|
#define DISPLAY_SET_CURSOR_X 0x2A
|
|
#define DISPLAY_SET_CURSOR_Y 0x2B
|
|
#define DISPLAY_WRITE_PIXELS 0x2C
|
|
|
|
#ifdef ADAFRUIT_HX8357D_PITFT
|
|
#include "pitft_35r_hx8357d.h"
|
|
#endif
|
|
|
|
void InitHX8357D(void);
|
|
|
|
void TurnDisplayOn(void);
|
|
void TurnDisplayOff(void);
|
|
|
|
#define DISPLAY_NATIVE_WIDTH 320
|
|
#define DISPLAY_NATIVE_HEIGHT 480
|
|
|
|
#define MUST_SEND_FULL_CURSOR_WINDOW
|
|
|
|
#define InitSPIDisplay InitHX8357D
|
|
|
|
#endif
|