-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using SPIFFS and Inkplate.h does not work #100
Comments
Can you please provide the code in question? The bug is probably beacuse there is a class with the same name in the Inkplate library, I'll add a define or something where you can make the compiler ignore it. |
=>
|
SPIFFS and Inkplate.h are still not useable together. Is this a conflict with the SD library similar to the conversation in this thread? |
Found a solution here for the conflict between File class defined in FS.h and SD that does not require any changes to the Inkplate library. As shared by luc-github there is a define for this to be used before header call in the Arduino sketch: then you must add namespace fs for SPIFFS objects like This resolves the conflict |
Thank you for this! It ended up being the first useful result in my search for an answer to this problem. |
The issue is closed because there is no more activity |
If I use Inkplate.h and FS/SPIFFS in the same sketch, like this
#include "Inkplate.h" // Include Inkplate library to the sketch
#include "FS.h"
#include "SPIFFS.h"
I get a namespace clash error:
How can I use SPIFFS and display related functions in the same sketch?
The text was updated successfully, but these errors were encountered: