#include "drivers/displays/tft/touchscreen.h"
static lcdOrientation_t lcdOrientation = LCD_ORIENTATION_PORTRAIT;
-static lcdProperties_t st7783Properties = { 240, 320, TRUE, TRUE, FALSE };
+static lcdProperties_t st7783Properties = { 240, 320, true, true, false, true, true};
/*************************************************/
/* Private Methods */
st7783WriteData(data);
}
-/*************************************************/
-/* Returns the 4-hexdigit controller code */
-/*************************************************/
-uint16_t st7783Type(void)
-{
- st7783WriteCmd(0x0);
- return st7783ReadData();
-}
-
/*************************************************/
void st7783SetCursor(uint16_t x, uint16_t y)
{
/*************************************************/
uint16_t lcdGetControllerID(void)
{
- return st7783Type();
+ return 0x7783;
}
/*************************************************/