Beste forum lezers, ik heb een vraag over de Arduino GIGA R1 wifi in combinatie met een 2.4" (240 x 320) TFT LCD display shield (ILI9341). Ik krijg het programma's niet gecompileerd. De compiler geeft verschillende fouten.
Ik heb het programma al getest op een Arduino UNO en MEGA en daar werkt het wel. Alleen de Arduino UNO en MEGA werken met een Atmel microcontroller en de GIGA met een STM microcontroller.
Kunen jullie mij alstublieft helpen?
foutmeldingen:
#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