prenticedavid/MCUFRIEND_kbv

2.4''TFT LCD shield & Arduino GIGA R1(STM32H747XI) unable to compile.

Jornedj opened this issue · 2 comments

Maybe I am just being stupid due to lack of sleep or something else. But I am not able to get most of the programs to compile, The compiler is giving several errors.
I have already tested the programme on an Arduino UNO and MEGA and it works there. Only the Arduino UNO and MEGA work with an Atmel microcontroller and the GIGA with an STM microcontroller.
Can you please help me?

I upload my error messages.

#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN) ^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: suggested alternative: 'SPI1'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: error: 'PIN_LOW' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: suggested alternative: 'PIN_LED'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:122:5: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:122:5: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:122:5: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:122:5: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: error: 'write16' was not declared in this scope
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: suggested alternative: 'write24'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:122:5: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:122:5: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:125:9: error: 'write8' was not declared in this scope
write8(u8);
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:125:9: note: suggested alternative: 'write'
write8(u8);
^~~~~~
write
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:128:13: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:128:13: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:128:13: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:128:13: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: error: 'write16' was not declared in this scope
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: suggested alternative: 'write24'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:128:13: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:128:13: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: error: 'PIN_HIGH' was not declared in this scope
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: suggested alternative: 'HIGH'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp: In function 'uint16_t read16bits()':
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:154:5: error: 'READ_8' was not declared in this scope
READ_8(ret);
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:154:5: note: suggested alternative: 'PE_8'
READ_8(ret);
^~~~~~
PE_8
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp: In member function 'uint16_t MCUFRIEND_kbv::readReg(uint16_t, int8_t)':
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: error: 'CS_PORT' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: suggested alternative: 'STM_PORT'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: error: 'CS_PIN' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: suggested alternative: 'SPI1'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: error: 'PIN_LOW' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: suggested alternative: 'PIN_LED'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:169:5: note: in expansion of macro 'WriteCmd'
WriteCmd(reg);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:169:5: note: in expansion of macro 'WriteCmd'
WriteCmd(reg);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:169:5: note: in expansion of macro 'WriteCmd'
WriteCmd(reg);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:169:5: note: in expansion of macro 'WriteCmd'
WriteCmd(reg);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: error: 'write16' was not declared in this scope
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: suggested alternative: 'write'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:169:5: note: in expansion of macro 'WriteCmd'
WriteCmd(reg);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:169:5: note: in expansion of macro 'WriteCmd'
WriteCmd(reg);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:170:5: error: 'setReadDir' was not declared in this scope
setReadDir();
^~~~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:170:5: note: suggested alternative: 'seekdir'
setReadDir();
^~~~~~~~~~
seekdir
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: error: 'RD_PORT' was not declared in this scope
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: note: suggested alternative: 'STM_PORT'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: error: 'RD_PIN' was not declared in this scope
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: note: suggested alternative: 'STM_PIN'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: error: 'PIN_HIGH' was not declared in this scope
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: note: suggested alternative: 'HIGH'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:176:5: error: 'setWriteDir' was not declared in this scope
setWriteDir();
^~~~~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:176:5: note: suggested alternative: 'setWriteError'
setWriteDir();
^~~~~~~~~~~
setWriteError
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp: In member function 'int16_t MCUFRIEND_kbv::readGRAM(int16_t, int16_t, uint16_t*, int16_t, int16_t)':
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: error: 'CS_PORT' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: suggested alternative: 'STM_PORT'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: error: 'CS_PIN' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: suggested alternative: 'SPI1'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: error: 'PIN_LOW' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: suggested alternative: 'PIN_LED'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:311:9: note: in expansion of macro 'WriteCmd'
WriteCmd(_MR);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:311:9: note: in expansion of macro 'WriteCmd'
WriteCmd(_MR);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:311:9: note: in expansion of macro 'WriteCmd'
WriteCmd(_MR);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:311:9: note: in expansion of macro 'WriteCmd'
WriteCmd(_MR);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: error: 'write16' was not declared in this scope
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: suggested alternative: 'write'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:311:9: note: in expansion of macro 'WriteCmd'
WriteCmd(_MR);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:311:9: note: in expansion of macro 'WriteCmd'
WriteCmd(_MR);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:312:9: error: 'setReadDir' was not declared in this scope
setReadDir();
^~~~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:312:9: note: suggested alternative: 'seekdir'
setReadDir();
^~~~~~~~~~
seekdir
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:316:13: error: 'READ_8' was not declared in this scope
READ_8(r);
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:316:13: note: suggested alternative: 'PE_8'
READ_8(r);
^~~~~~
PE_8
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:318:13: error: 'READ_16' was not declared in this scope
READ_16(dummy);
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:318:13: note: suggested alternative: 'READ_REG'
READ_16(dummy);
^~~~~~~
READ_REG
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:320:26: error: 'READ_8' was not declared in this scope
if (_lcd_ID == 0x1511) READ_8(r); //extra dummy for R61511
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:320:26: note: suggested alternative: 'PE_8'
if (_lcd_ID == 0x1511) READ_8(r); //extra dummy for R61511
^~~~~~
PE_8
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:323:17: error: 'READ_8' was not declared in this scope
READ_8(r);
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:323:17: note: suggested alternative: 'PE_8'
READ_8(r);
^~~~~~
PE_8
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:331:17: error: 'READ_16' was not declared in this scope
READ_16(ret);
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:331:17: note: suggested alternative: 'READ_REG'
READ_16(ret);
^~~~~~~
READ_REG
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: error: 'RD_PORT' was not declared in this scope
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: note: suggested alternative: 'STM_PORT'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:29: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: error: 'RD_PIN' was not declared in this scope
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: note: suggested alternative: 'STM_PIN'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:38: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: error: 'PIN_HIGH' was not declared in this scope
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: note: suggested alternative: 'HIGH'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1217:20: note: in definition of macro 'RD_IDLE'
#define RD_IDLE PIN_HIGH(RD_PORT, RD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:352:9: error: 'setWriteDir' was not declared in this scope
setWriteDir();
^~~~~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:352:9: note: suggested alternative: 'setWriteError'
setWriteDir();
^~~~~~~~~~~
setWriteError
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp: In member function 'virtual void MCUFRIEND_kbv::drawPixel(int16_t, int16_t, uint16_t)':
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: error: 'CS_PORT' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: suggested alternative: 'STM_PORT'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: error: 'CS_PIN' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: suggested alternative: 'SPI1'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: error: 'PIN_LOW' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: suggested alternative: 'PIN_LED'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:541:30: note: in expansion of macro 'WriteCmd'
if (is9797) { CS_ACTIVE; WriteCmd(_MW); write24(color); CS_IDLE;} else
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:541:30: note: in expansion of macro 'WriteCmd'
if (is9797) { CS_ACTIVE; WriteCmd(_MW); write24(color); CS_IDLE;} else
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:541:30: note: in expansion of macro 'WriteCmd'
if (is9797) { CS_ACTIVE; WriteCmd(_MW); write24(color); CS_IDLE;} else
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:541:30: note: in expansion of macro 'WriteCmd'
if (is9797) { CS_ACTIVE; WriteCmd(_MW); write24(color); CS_IDLE;} else
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: error: 'write16' was not declared in this scope
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: suggested alternative: 'write'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:541:30: note: in expansion of macro 'WriteCmd'
if (is9797) { CS_ACTIVE; WriteCmd(_MW); write24(color); CS_IDLE;} else
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:541:30: note: in expansion of macro 'WriteCmd'
if (is9797) { CS_ACTIVE; WriteCmd(_MW); write24(color); CS_IDLE;} else
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: error: 'PIN_HIGH' was not declared in this scope
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: suggested alternative: 'HIGH'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp: In member function 'virtual void MCUFRIEND_kbv::fillRect(int16_t, int16_t, int16_t, int16_t, uint16_t)':
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: error: 'CS_PORT' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: suggested alternative: 'STM_PORT'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: error: 'CS_PIN' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: suggested alternative: 'SPI1'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: error: 'PIN_LOW' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: suggested alternative: 'PIN_LED'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:616:5: note: in expansion of macro 'WriteCmd'
WriteCmd(_MW);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:616:5: note: in expansion of macro 'WriteCmd'
WriteCmd(_MW);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:616:5: note: in expansion of macro 'WriteCmd'
WriteCmd(_MW);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:616:5: note: in expansion of macro 'WriteCmd'
WriteCmd(_MW);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: error: 'write16' was not declared in this scope
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: suggested alternative: 'write'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:616:5: note: in expansion of macro 'WriteCmd'
WriteCmd(_MW);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:616:5: note: in expansion of macro 'WriteCmd'
WriteCmd(_MW);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:659:18: error: 'write8' was not declared in this scope
write8(r);
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:659:18: note: suggested alternative: 'write'
write8(r);
^~~~~~
write
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:666:13: error: 'write8' was not declared in this scope
write8(hi);
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:666:13: note: suggested alternative: 'write'
write8(hi);
^~~~~~
write
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: error: 'PIN_HIGH' was not declared in this scope
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: suggested alternative: 'HIGH'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp: In function 'void pushColors_any(uint16_t, uint8_t*, int16_t, bool, uint8_t)':
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: error: 'CS_PORT' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: suggested alternative: 'STM_PORT'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: error: 'CS_PIN' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: suggested alternative: 'SPI1'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: error: 'PIN_LOW' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: suggested alternative: 'PIN_LED'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:684:9: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:684:9: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:684:9: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:684:9: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: error: 'write16' was not declared in this scope
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: suggested alternative: 'write24'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1240:36: note: in definition of macro 'WriteCmd'
#define WriteCmd(x) { CD_COMMAND; write16(x); CD_DATA; }
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:684:9: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:684:9: note: in expansion of macro 'WriteCmd'
WriteCmd(cmd);
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:691:13: error: 'write16' was not declared in this scope
write16(color);
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:691:13: note: suggested alternative: 'write24'
write16(color);
^~~~~~~
write24
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:708:9: error: 'write16' was not declared in this scope
write16(color);
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:708:9: note: suggested alternative: 'write24'
write16(color);
^~~~~~~
write24
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: error: 'PIN_HIGH' was not declared in this scope
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: suggested alternative: 'HIGH'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp: In function 'void init_table(const void*, int16_t)':
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: error: 'CS_PORT' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: suggested alternative: 'STM_PORT'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:28: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: error: 'CS_PIN' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: suggested alternative: 'SPI1'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:37: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: error: 'PIN_LOW' was not declared in this scope
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: suggested alternative: 'PIN_LED'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1225:20: note: in definition of macro 'CS_ACTIVE'
#define CS_ACTIVE PIN_LOW(CS_PORT, CS_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: error: 'CD_PORT' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: suggested alternative: 'STM_PORT'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:28: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: error: 'CD_PIN' was not declared in this scope
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: suggested alternative: 'STM_PIN'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1222:37: note: in definition of macro 'CD_COMMAND'
#define CD_COMMAND PIN_LOW(CD_PORT, CD_PIN)
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:877:13: error: 'write8' was not declared in this scope
write8(cmd);
^~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:877:13: note: suggested alternative: 'write'
write8(cmd);
^~~~~~
write
In file included from c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:0:
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: error: 'PIN_HIGH' was not declared in this scope
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: suggested alternative: 'HIGH'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1223:20: note: in definition of macro 'CD_DATA'
#define CD_DATA PIN_HIGH(CD_PORT, CD_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: error: 'PIN_HIGH' was not declared in this scope
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: suggested alternative: 'HIGH'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^
c:\Users\name\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1226:20: note: in definition of macro 'CS_IDLE'
#define CS_IDLE PIN_HIGH(CS_PORT, CS_PIN)
^~~~~~~~

exit status 1

Compilation error: exit status 1

I was able to get LCD_ID_ReadReg working.

Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)

reg(0x0000) 00 00 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00 Manufacturer ID
reg(0x0009) 09 09 09 09 09 Status Register
reg(0x000A) 0A 0A Get Power Mode
reg(0x000C) 08 08 Get Pixel Format
reg(0x0061) 21 21 RDID1 HX8347-G
reg(0x0062) 22 22 RDID2 HX8347-G
reg(0x0063) 23 23 RDID3 HX8347-G
reg(0x0064) 20 20 RDID1 HX8347-A
reg(0x0065) 21 21 RDID2 HX8347-A
reg(0x0066) 22 22 RDID3 HX8347-A
reg(0x0067) 23 23 RDID Himax HX8347-A
reg(0x0070) 20 20 Panel Himax HX8347-A
reg(0x00A1) A1 A1 A1 A1 A1 RD_DDB SSD1963
reg(0x00B0) A0 A0 RGB Interface Signal Control
reg(0x00B4) A0 A0 Inversion Control
reg(0x00B6) A2 A2 A2 A2 A2 Display Control
reg(0x00B7) A3 A3 Entry Mode Set
reg(0x00BF) AB AB AB AB AB AB ILI9481, HX8357-B
reg(0x00C0) 80 80 80 80 80 80 80 80 80 Panel Control
reg(0x00C8) 88 88 88 88 88 88 88 88 88 88 88 88 88 GAMMA
reg(0x00CC) 88 88 Panel Control
reg(0x00D0) 80 80 80 Power Control
reg(0x00D2) 82 82 82 82 82 NVM Read
reg(0x00D3) 83 83 83 83 ILI9341, ILI9488
reg(0x00D4) 80 80 80 80 Novatek ID
reg(0x00DA) 8A 8A RDID1
reg(0x00DB) 8B 8B RDID2
reg(0x00DC) 88 88 RDID3
reg(0x00E0) A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 GAMMA-P
reg(0x00E1) A1 A1 A1 A1 A1 A1 A1 A1 A1 A1 A1 A1 A1 A1 A1 A1 GAMMA-N
reg(0x00EF) AB AB AB AB AB AB ILI9327
reg(0x00F2) A2 A2 A2 A2 A2 A2 A2 A2 A2 A2 A2 A2 Adjust Control 2
reg(0x00F6) A2 A2 A2 A2 Interface Control