Forum Software Ferduino code White screen

White screen  [SOLVED]


Post Number:#1 Post Fri Jun 07, 2019 11:01 am
Posts: 4
Topics: 1
Solve rating: 0
Joined: Fri Jun 07, 2019 10:04 am
Topics: 1
Age: 36
Gender: None specified
National Flag:
Chile
hola fernando estoy tratando de actualiza el codigo a a ferduino master con control web y al cargarlo me queda la pantalla en blanco, no me da ningun error en la carga solo no se ve nada, tengo la pantalla de itead con resolucion 240x400 y shield ITDB02 la version 1.1 con rtc, al final de de la compilacion no dice nada, que podra ser?
El Sketch usa 38222 bytes (15%) del espacio de almacenamiento de programa. El máximo es 253952 bytes.
Las variables Globales usan 2293 bytes (27%) de la memoria dinámica, dejando 5899 bytes para las variables locales. El máximo es 8192 bytes.

estoy usando el ide 1.8.9
espero me puedas ayudar

Post Number:#2 Post Fri Jun 07, 2019 6:50 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Welcome Juan!

Please write on forum only in english.

For latest version of Ferduino code a PCF is mandatory.

The white screen is because the controller can't find the module.

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#3 Post Fri Jun 07, 2019 8:07 pm
Posts: 4
Topics: 1
Solve rating: 0
Joined: Fri Jun 07, 2019 10:04 am
Topics: 1
Age: 36
Gender: None specified
National Flag:
Chile
I have never occupied a pcf and the code loaded me without any problem and I wanted to update the latest version just that, the previous code worked without any problem

Post Number:#4 Post Fri Jun 07, 2019 8:18 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

For latest version a PCF8575 is needed. It's as the code is right now.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#5 Post Fri Jun 07, 2019 9:30 pm
Posts: 4
Topics: 1
Solve rating: 0
Joined: Fri Jun 07, 2019 10:04 am
Topics: 1
Age: 36
Gender: None specified
National Flag:
Chile
which version can work without pcf since the old code does not smoke me in the current idea of ​​arduino and where I can get it, the version I have is updated on 03/05/2017

Post Number:#6 Post Sat Jun 08, 2019 10:02 am
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You can browse the repository on Github and download the code from specific point but it will be missing features and fixes.

Image


Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#7 Post Sat Jun 08, 2019 1:49 pm
Posts: 4
Topics: 1
Solve rating: 0
Joined: Fri Jun 07, 2019 10:04 am
Topics: 1
Age: 36
Gender: None specified
National Flag:
Chile
fernando I did what he told me and he gives me these compilation errors
Arduino:1.8.9 (Windows Store 1.8.21.0) (Windows 10), Tarjeta:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from c:\users\juan\appdata\local\temp\arduino_build_23151\sketch\src/Include/Library.h:11:0,

                 from c:\users\juan\appdata\local\temp\arduino_build_23151\sketch\configuration.h:126,

                 from sketch\src\Ferduino_Aquarium_Controller.h:5,

                 from sketch\src\Ferduino_Aquarium_Controller.cpp:4:

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h: In function 'int EEPROM_writeAnything(int, const T&)':

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h:3:11: error: 'byte' does not name a type

     const byte* p = (const byte*)(const void*)&value;

           ^

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h:6:24: error: 'p' was not declared in this scope

    EEPROM.write(ee++, *p++);

                        ^

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h: In function 'int EEPROM_readAnything(int, T&)':

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h:12:5: error: 'byte' was not declared in this scope

     byte* p = (byte*)(void*)&value;

     ^

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h:12:11: error: 'p' was not declared in this scope

     byte* p = (byte*)(void*)&value;

           ^

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h:12:21: error: expected primary-expression before ')' token

     byte* p = (byte*)(void*)&value;

                     ^

C:\Users\juan\Documents\Arduino\libraries\writeAnything/writeAnything.h:12:23: error: expected primary-expression before 'void'

     byte* p = (byte*)(void*)&value;

                       ^

exit status 1
Error compilando para la tarjeta Arduino/Genuino Mega or Mega 2560.

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

Post Number:#8 Post Sat Jun 08, 2019 2:10 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

As I told old version can be missing fixes.

Apply this fix.

https://github.com/FernandoGarcia/Ferdu ... dcfd3a2127

I won't help you with more problems in regression.

The initial issue was answered so I'll close this topic.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.




Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 0 guests

cron