![]() ![]() Then, compare/contrast.Īs discussed, my aim is to get this screen working on the Arduino Nano 33 BLE, and so in 8bit mode. My plan is to get both the UTFT code and your MCUFriend code to churn out everything written to/read from the shield. I’ll let you know what I find when I next get to spend some time on it. There’s got to be something: if the same commands and data were being sent, I’d expect the display to show stuff. So, I’m using copious Serial.print/println commands to see what’s different. Swapping the UTFT parameters didn’t solve it. I’ve noticed that some of the parameters used in the startup commands differed. The screen is working, if I use the UTFT library supplied with the screen then it works in 16bit mode. Nothing is displayed and the backlight stays off. Using the master branch of MCUFriend on GitHub.I’m using the shield, I’m not plugging the screen directly into the Mega.I’ve stepped away from my laptop for a while so can’t append the outputs from your diagnostic sketches. Which is why you can configure controllers to suit different colours, directions etc.įorget about GUISlice until you have your screen working correctly. But only when I know which constructor you are using. Mirroring, wrong colours, wrong direction. Personally I am happier with a Controller name like SSD1963_800_7 but this is not my library. #define EHOUSE70 20 // SSD1963 (16bit) 800x480 Alternative Initįor some reason Mr Karlsen prefers to use gobbledygook "model names" which is fine if you have bought your screen from one of his preferred suppliers e.g. ![]() UTFT myGLCD(CTE70,38,39,40,41) įrom C:\Users\David Prentice\Documents\Arduino\libraries\UTFT\UTFT.h #define SSD1963_480 12 You should use the appropriate constructor e.g. Paste the constructor statement to your message.įrom C:\Users\David Prentice\Documents\Arduino\libraries\UTFT\examples\Arduino (AVR)\UTFT_Demo_800x480\UTFT_Demo_800x480.ino // Remember to change the model parameter to suit your display module! This report would have more information with Not used: C:\Users\User\Documents\Arduino\libraries\utft-masterĮrror compiling for board Arduino Mega or Mega 2560. Used: C:\Users\User\Documents\Arduino\libraries\UTFT Multiple libraries were found for "UTFT.h" I have attached the errors below: Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"Ĭ:\Users\User\Documents\Arduino\libraries\GUIslice\src\GUIslice_drv_utft.cpp: In function 'const char* gslc_DrvGetNameTouch(gslc_tsGui*)':Ĭ:\Users\User\Documents\Arduino\libraries\GUIslice\src\GUIslice_drv_utft.cpp:178:10: error: 'm_acDrvTouch' was not declared in this scopeĬ:\Users\User\Documents\Arduino\libraries\GUIslice\src\GUIslice_drv_utft.cpp:178:10: note: suggested alternative: 'm_acDrvDisp' In the GUIslice_config.h file I have uncommented out the line: #include "./configs/ard-shld-eastrising_50_ssd1963_res.h" (the pin numbers are correct) but now my program won't compile. I can get the TFT to work sucessfully using the UTFT master library and the UTFT_Demo_800x480 example.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |