Before submitting this issue
[Y] Have you tried using the latest version of the library?
[Y] Have you checked this has not already been submitted and/or resolved?
[ ] If you are requesting help a better choice may be the Arduino forum
Subject of the issue
error: invalid conversion from 'char' to 'const char*' [-fpermissive]
Your Environment
In code
Steps to Reproduce
dunno
Expected Behaviour
Correct building
Actual Behaviour
Explain what happens instead. Provide log messages if relevant.
Code Demonstrating the Issue
Arduino:1.8.10 (Windows 10), Tarjeta:"LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
C:\Users\PENH\AppData\Local\Temp\arduino_modified_sketch_667308\Parola_Sprites_Simple.ino: In function 'void setup()':
Parola_Sprites_Simple:65:30: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
P.displayText(msg[curString], PA_CENTER, P.getSpeed(), PAUSE_TIME, PA_SPRITE, PA_SPRITE);
^
In file included from C:\Users\PENH\AppData\Local\Temp\arduino_modified_sketch_667308\Parola_Sprites_Simple.ino:8:0:
C:\Users\PENH\OneDrive\Documentos\Arduino\libraries\MD_Parola-master\src/MD_Parola.h:1344:15: error: initializing argument 1 of 'void MD_Parola::displayText(const char*, textPosition_t, uint16_t, uint16_t, textEffect_t, textEffect_t)' [-fpermissive]
inline void displayText(const char *pText, textPosition_t align, uint16_t speed, uint16_t pause, textEffect_t effectIn, textEffect_t effectOut = PA_NO_EFFECT)
^
Se encontraron varias bibliotecas para "MD_Parola.h"
Usado: C:\Users\PENH\OneDrive\Documentos\Arduino\libraries\MD_Parola-master
Se encontraron varias bibliotecas para "MD_MAX72xx.h"
Usado: C:\Users\PENH\OneDrive\Documentos\Arduino\libraries\MD_MAX72XX-master
Se encontraron varias bibliotecas para "SPI.h"
Usado: C:\Users\PENH\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\SPI
exit status 1
invalid conversion from 'char' to 'const char*' [-fpermissive]
Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.
The error in the code shown for Parola_Sprites_Simple.ino does not match the code in the current version of the library examples. New version does not display this problem. Please upgrade to the newest version.
IMPORTANT
Before submitting this issue [Y] Have you tried using the latest version of the library? [Y] Have you checked this has not already been submitted and/or resolved? [ ] If you are requesting help a better choice may be the Arduino forum
Subject of the issue
error: invalid conversion from 'char' to 'const char*' [-fpermissive]
Your Environment
In code
Steps to Reproduce
dunno
Expected Behaviour
Correct building
Actual Behaviour
Explain what happens instead. Provide log messages if relevant.
Code Demonstrating the Issue