Hello,
I try to use the Ra8876LiteTeensy but with an Compatible Arduino Mega2560, with the following display: SPI 7"TFT LCD Dislay 1024x600 w/RA8876
And I'm getting this error:
Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Applications/Arduino.app/Contents/Java/libraries/SD/src -I/Users/arno/Documents/Arduino/libraries/Ra8876LiteTeensy-master/src -I/Users/arno/Documents/Arduino/libraries/OneWire -I/Users/arno/Documents/Arduino/libraries/DallasTemperature /var/folders/46/956cmkys22x5wvys50tx9h980000gn/T/arduino_build_95528/sketch/gestion_ecs.ino.cpp -o /var/folders/46/956cmkys22x5wvys50tx9h980000gn/T/arduino_build_95528/sketch/gestion_ecs.ino.cpp.o
In file included from /var/folders/46/956cmkys22x5wvys50tx9h980000gn/T/arduino_build_95528/sketch/global.h:5:0,
from /Users/arno/Documents/Projets/Embarque/Arduino Thermometre/gestion_ecs/gestion_ecs.ino:1:
/Users/arno/Documents/Arduino/libraries/Ra8876LiteTeensy-master/src/RA8876_t3.h:650:12: error: 'SPI_Hardware_t' in 'class SPIClass' does not name a type
SPIClass::SPI_Hardware_t *_spi_hardware;
I have no clue why and what to do, I just hope this library can be used to an arduinon Mega 2560.
Foe what I can see I'm using this version: 4/30/20
Thanks for any help.
I try to use the Ra8876LiteTeensy but with an Compatible Arduino Mega2560, with the following display: SPI 7"TFT LCD Dislay 1024x600 w/RA8876
And I'm getting this error:
Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Applications/Arduino.app/Contents/Java/libraries/SD/src -I/Users/arno/Documents/Arduino/libraries/Ra8876LiteTeensy-master/src -I/Users/arno/Documents/Arduino/libraries/OneWire -I/Users/arno/Documents/Arduino/libraries/DallasTemperature /var/folders/46/956cmkys22x5wvys50tx9h980000gn/T/arduino_build_95528/sketch/gestion_ecs.ino.cpp -o /var/folders/46/956cmkys22x5wvys50tx9h980000gn/T/arduino_build_95528/sketch/gestion_ecs.ino.cpp.o
In file included from /var/folders/46/956cmkys22x5wvys50tx9h980000gn/T/arduino_build_95528/sketch/global.h:5:0,
from /Users/arno/Documents/Projets/Embarque/Arduino Thermometre/gestion_ecs/gestion_ecs.ino:1:
/Users/arno/Documents/Arduino/libraries/Ra8876LiteTeensy-master/src/RA8876_t3.h:650:12: error: 'SPI_Hardware_t' in 'class SPIClass' does not name a type
SPIClass::SPI_Hardware_t *_spi_hardware;
I have no clue why and what to do, I just hope this library can be used to an arduinon Mega 2560.
Foe what I can see I'm using this version: 4/30/20
Thanks for any help.