Skip to content
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

errors when compiling examples #17

Open
rozrabiak opened this issue Jan 27, 2024 · 0 comments
Open

errors when compiling examples #17

rozrabiak opened this issue Jan 27, 2024 · 0 comments

Comments

@rozrabiak
Copy link

rozrabiak commented Jan 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant