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
Hi, I'm using platformio. ESP32. LCD i2c with GC9A01
src/main.cpp: In function 'void loop()': src/main.cpp:68:15: error: 'mapValue' was not declared in this scope current = mapValue(value, (float)0.0, (float)100.0, (float)0.0, (float)2.0); ^~~~~~~~ src/main.cpp:68:15: note: suggested alternative: 'value' current = mapValue(value, (float)0.0, (float)100.0, (float)0.0, (float)2.0); ^~~~~~~~ value Compiling .pio\build\lolin_d32\libd2d\TFT_eWidget\widgets\button\ButtonWidget.cpp.o Compiling .pio\build\lolin_d32\libd2d\TFT_eWidget\widgets\graph\GraphWidget.cpp.o *** [.pio\build\lolin_d32\src\main.cpp.o] Error 1 In file included from .pio/libdeps/lolin_d32/TFT_eSPI/User_Setup_Select.h:121, from .pio/libdeps/lolin_d32/TFT_eSPI/TFT_eSPI.h:69, from .pio/libdeps/lolin_d32/TFT_eWidget/src/widgets/button/ButtonWidget.h:20, from .pio/libdeps/lolin_d32/TFT_eWidget/src/widgets/button/ButtonWidget.cpp:1: .pio/libdeps/lolin_d32/TFT_eSPI/User_Setups/Setup200_GC9A01.h:9: warning: "TFT_MOSI" redefined #define TFT_MOSI 15 // In some display driver board, it might be written as "SDA" and so on.
The text was updated successfully, but these errors were encountered:
Hi, I'm using platformio. ESP32. LCD i2c with GC9A01
src/main.cpp: In function 'void loop()': src/main.cpp:68:15: error: 'mapValue' was not declared in this scope current = mapValue(value, (float)0.0, (float)100.0, (float)0.0, (float)2.0); ^~~~~~~~ src/main.cpp:68:15: note: suggested alternative: 'value' current = mapValue(value, (float)0.0, (float)100.0, (float)0.0, (float)2.0); ^~~~~~~~ value Compiling .pio\build\lolin_d32\libd2d\TFT_eWidget\widgets\button\ButtonWidget.cpp.o Compiling .pio\build\lolin_d32\libd2d\TFT_eWidget\widgets\graph\GraphWidget.cpp.o *** [.pio\build\lolin_d32\src\main.cpp.o] Error 1 In file included from .pio/libdeps/lolin_d32/TFT_eSPI/User_Setup_Select.h:121, from .pio/libdeps/lolin_d32/TFT_eSPI/TFT_eSPI.h:69, from .pio/libdeps/lolin_d32/TFT_eWidget/src/widgets/button/ButtonWidget.h:20, from .pio/libdeps/lolin_d32/TFT_eWidget/src/widgets/button/ButtonWidget.cpp:1: .pio/libdeps/lolin_d32/TFT_eSPI/User_Setups/Setup200_GC9A01.h:9: warning: "TFT_MOSI" redefined #define TFT_MOSI 15 // In some display driver board, it might be written as "SDA" and so on.
The text was updated successfully, but these errors were encountered: