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

Still problems to compile #8

Closed
franki29 opened this issue Jun 16, 2018 · 2 comments
Closed

Still problems to compile #8

franki29 opened this issue Jun 16, 2018 · 2 comments

Comments

@franki29
Copy link

Hi Wolle,

still it does not compile. I tried with arduni 1.8.6 and Sloeber. Both show same error

TFT tft(1); // parameter: (0) ILI9341, (1)HX8347D
^
In file included from C:\Users\frank\Documents\Arduino\MiniWebradio\sloeber.ino.cpp:17:0:
C:\Users\frank\Documents\Arduino\MiniWebradio\tft.h:86:9: note: candidate: TFT::TFT()
TFT();
^
C:\Users\frank\Documents\Arduino\MiniWebradio\tft.h:86:9: note: candidate expects 0 arguments, 1 provided
C:\Users\frank\Documents\Arduino\MiniWebradio\tft.h:83:7: note: candidate: constexpr TFT::TFT(const TFT&)
class TFT : public Print {
^
C:\Users\frank\Documents\Arduino\MiniWebradio\tft.h:83:7: note: no known conversion for argument 1 from 'int' to 'const TFT&'
MiniWebradio\subdir.mk:67: recipe for target 'MiniWebradio\sloeber.ino.cpp.o' failed
make: *** [MiniWebradio\sloeber.ino.cpp.o] Error 1

Br. Frank

@schreibfaul1
Copy link
Owner

Hello,
You can found two TFT libraries in my repositories. One works with ILI9486 (it is a 320x480px RPI display without additional parameter, TFT() ) and a library works with the controller ILI9341 and HX8347 ( 240x320px display, therefore You must chosen the controller TFT(0) or TFT(1) ) .
regards
Wolle

@franki29
Copy link
Author

Ahhh, now i understand. Yes compiling is working now.

Thanks for helping

Frank

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

2 participants