Closed GeorgeFlorian closed 5 years ago
How did you setup the Arduino IDE?
How did you setup the Arduino IDE?
Like this and it works just fine with other sketches.
https://i.postimg.cc/VkT3rG5t/arduino.png
I've installed both libraries as it says in the Readme.
What happens if move definition of Wheel() to the top of the source?
What happens if move definition of Wheel() to the top of the source?
Wheel is now defined but there still are compiler errors:
compilation terminated.
Compiling .pioenvs/esp32doit-devkit-v1/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pioenvs/esp32doit-devkit-v1/FrameworkArduino/HardwareSerial.cpp.o
*** [.pioenvs/esp32doit-devkit-v1/libfd9/Adafruit GFX Library_ID13/Adafruit_SPITFT.cpp.o] Error 1
src/main.cpp: In function 'void setup()':
src/main.cpp:64:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *str = "P3indoorSMDDisplay";
^
Adding const
at the top of the line may solve that warning.
Adding
const
at the top of the line may solve that warning.
You mean const uint16_t Wheel(byte WheelPos)
? Because it doesn't work.
Of course not. const char *str = "...";
Of course not.
const char *str = "...";
That's way better. The only error now is this:
compilation terminated.
Compiling .pioenvs/esp32doit-devkit-v1/FrameworkArduino/MD5Builder.cpp.o
*** [.pioenvs/esp32doit-devkit-v1/libfd9/Adafruit GFX Library_ID13/Adafruit_SPITFT.cpp.o] Error 1
Heee, error with no messages... Maybe you need to clean up your environment and recompile everything...
Heee, error with no messages... Maybe you need to clean up your environment and recompile everything...
Thank you for your assistance !
The code compiles on Arduino IDE. The problem is with PlatformIO IDE.
I will post this error on the Adafruit GFX github.
I will close this now as it doesn't seem to be an issue from your library.
Hello !
As the title says I can't compile the testshape example.
Here is the output: