Forum Software Ferduino code White screen TFT 400x240 ferduino with web control

White screen TFT 400x240 ferduino with web control  [SOLVED]


Post Number:#1 Post Sat Jan 13, 2018 9:33 pm
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
Hi,

I have arduino mega 2560, a TFT shield ITDB02, TFT touch sreen 240x400.

the old code ferduino master worked with my hardware.

I can not install ferduino beta with web control at the end of the installation the screen is white. i am using arduino IDE 1.8.10.

Rtouch calibration and Rtouch button does not work the touch does not work. I can not calibrate the screen it is blocked.

In the future i will use nodcmu esp8266, I have not ethernet shield.

when I install ferduino I have this message :

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino: In function 'requestAction(char*, unsigned char*, unsigned int)':

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino:1115:39: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations]

             itoa(horaNuvem[i], buf, 10);

                                       ^

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino:1113:11: note: containing loop

           for (byte i = 0; i < 16; i++)

           ^

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino: In function 'check_parametro_densidade()':

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Stamps_V4.ino:142:41: warning: iteration 14 invokes undefined behavior [-Waggressive-loop-optimizations]

         sensorstring[i] = Serial3.read();

                                         ^

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Stamps_V4.ino:140:7: note: containing loop

       for (byte i = 1; i <= 15; i++)

       ^

In file included from C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp:39:0:

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

 };

 ^

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:95:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:100:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

 };

 ^

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:100:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:100:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:100:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:100:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:100:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:100:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

 };

 ^

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:106:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:111:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

 };

 ^

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:111:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:111:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:111:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:111:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:111:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\Translation.h:111:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp: In member function 'char* DS1307::getTimeStr(uint8_t)':

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp:119:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  char *output= "xxxxxxxx";

                ^

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp: In member function 'char* DS1307::getDateStr(uint8_t, uint8_t, char)':

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp:150:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  char *output= "xxxxxxxxxx";

                ^

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp: In member function 'char* DS1307::getDOWStr(uint8_t)':

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp:265:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  char *output= "xxxxxxxxx";

                ^

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp: In member function 'char* DS1307::getMonthStr(uint8_t)':

C:\Users\lie_p\Desktop\arduino-1.8.1\libraries\DS1307_HENNING\DS1307.cpp:282:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  char *output= "xxxxxxxxx";

                ^

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino: In function 'requestAction':

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino:1115:39: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations]

             itoa(horaNuvem[i], buf, 10);

                                       ^

C:\Users\lie_p\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino:1113:11: note: containing loop

           for (byte i = 0; i < 16; i++)

           ^

Le croquis utilise 79782 octets (31%) de l'espace de stockage de programmes. Le maximum est de 253952 octets.
Les variables globales utilisent 4155 octets (50%) de mémoire dynamique, ce qui laisse 4037 octets pour les variables locales. Le maximum est de 8192 octets.

:-\
Could you help me ?
Last edited by Fernando Garcia on Sat Jan 13, 2018 10:38 pm, edited 1 time in total.
Reason: Fix typo

Post Number:#2 Post Sat Jan 13, 2018 10:37 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Welcome Pagard.

You should be using wrong libraries, it should work with this libraries: https://github.com/FernandoGarcia/Ferdu ... ibliotecas

This messages are warnings not errors. There is no problem.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#3 Post Sun Jan 14, 2018 6:26 am
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
hi,

I download the librairies. URtouch calibration and URtouch bouton doesn't works. the touch screen doesn't work.

When I install arduino web control I have always write screen.

Post Number:#4 Post Sun Jan 14, 2018 8:22 am
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
I do not understand before my hardware worked with the old version of ferduino. After an update of the arduino IDE 1.6.10 I can not install the old version of ferduino I have an error message. No version of ferduino works on my hardware.

Post Number:#5 Post Sun Jan 14, 2018 10:51 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

What do you mean with "URtouch button doesn't work"? Can you see the buttons at least?

Have you changed the TFT model on code to ITDB32WD?

UTFT        myGLCD(ITDB32WD, 38, 39, 40, 41);


Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#6 Post Sun Jan 14, 2018 11:02 am
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
Yes I can see boutons. But the touch screen does not work when I touch the screen.when I press the button the screen does not react.

Yes I changed the TFT model on code to ITDB32WD.

Post Number:#7 Post Sun Jan 14, 2018 11:08 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Copy the coordinates from UTouchCD.h and paste in URTouchCD.h.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#8 Post Sun Jan 14, 2018 11:19 am
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
Thank you for the quick reply. I will follow your advices. Before I will change my hardware, I will keep you informed.

Post Number:#9 Post Sun Jan 14, 2018 11:35 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

This is not a hardware problem if it works with previous version of Ferduino code.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#10 Post Tue Feb 13, 2018 10:55 am
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
Fernando Garcia wrote:
Copy the coordinates from UTouchCD.h and paste in URTouchCD.h.

// ITDB32WD
my coordinates

#define CAL_X 0x00388F8EUL
#define CAL_Y 0x03B34130UL
#define CAL_S 0x8018F0EFUL


I have always screen white.
Last edited by Fernando Garcia on Tue Feb 13, 2018 4:32 pm, edited 1 time in total.
Reason: Please use tags [code][/code] to post any code here.

Post Number:#11 Post Tue Feb 13, 2018 4:30 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Using URTouch_button?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#12 Post Wed Feb 14, 2018 10:01 am
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
I can use URTouch_button.

the tactile doesn't react.

-------------------------------- Last edited Wed Feb 14, 2018 11:08 am --------------------------------

When I use URTouch_button I can see number and blue cases. But I can't touch button, tactilus dont react.
When I upload Ferduino I have white screen.

Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You are getting white screen with Ferduino because the PCF8575 is not connected. Disable it.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#14 Post Wed Feb 14, 2018 2:53 pm
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
ok. for disable pcf8575 I must whrite in ferduino code this :

//#define USE_PCF8575 // Descomente essa linha para usar um PCF8575 ?


regards

Post Number:#15 Post Wed Feb 14, 2018 3:10 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

yesssssssssssssssss!
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#16 Post Wed Feb 14, 2018 3:45 pm
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
ok.

I have not ethernet shield, but I have this message : please insert a sd card

Post Number:#17 Post Wed Feb 14, 2018 4:04 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

See the changes needed to use SD card on TFT here.

I think the initial issue was solved.

I'll close this topic.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#18 Post Wed Feb 14, 2018 4:05 pm
Posts: 17
Topics: 3
Solve rating: 0
Joined: Wed Jan 10, 2018 2:19 pm
Topics: 3
Age: 37
Gender: None specified
National Flag:
Guadeloupe
thank you for your time.

Best regards. #:-s




Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest

cron