You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the library. I don't tested it yet but if it works It is going to save me days or weeks of work.
To anyone interested,
I could not compile any of the examples provided due to compiler errors:
variable-sized object ********* may not be initialized
I changed the lines
uint16_t wordsarray[words] = {0};
to
uint16_t wordsarray[words];
and
uint16_t ans[no_of_words_to_read] = {0} ;
to
uint16_t ans[no_of_words_to_read] ;
And that allowed me to compile, but I don't know of possible side effects.
Tested with Arduino IDE 1.8.13 and ESP8266 Core v2.7.4
To install the package as a Arduino Ide 1.xx library,
1)decompress the zip in a subdirectory of the libraries directory,
2)put all the *.h and *.cpp files on the root of the library directory
3)Move the examples directory to the root of the library directory
4)Put every *.ino in his own subdirectory of the examples directory with the same name of the file and remove any spaces of the names
For guidance, just look how other libraries are installed
The text was updated successfully, but these errors were encountered:
JeffersonRyan
changed the title
Solving compatibility with Arduino IDE 1.xx and steps to create a Arduino IDE Library
Solving compatibility with Arduino IDE 1.xx and steps to create an Arduino IDE Library
Nov 22, 2024
Thanks for the library. I don't tested it yet but if it works It is going to save me days or weeks of work.
To anyone interested,
I could not compile any of the examples provided due to compiler errors:
variable-sized object ********* may not be initialized
I changed the lines
uint16_t wordsarray[words] = {0};
to
uint16_t wordsarray[words];
and
uint16_t ans[no_of_words_to_read] = {0} ;
to
uint16_t ans[no_of_words_to_read] ;
And that allowed me to compile, but I don't know of possible side effects.
Tested with Arduino IDE 1.8.13 and ESP8266 Core v2.7.4
To install the package as a Arduino Ide 1.xx library,
1)decompress the zip in a subdirectory of the libraries directory,
2)put all the *.h and *.cpp files on the root of the library directory
3)Move the examples directory to the root of the library directory
4)Put every *.ino in his own subdirectory of the examples directory with the same name of the file and remove any spaces of the names
For guidance, just look how other libraries are installed
The text was updated successfully, but these errors were encountered: