This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Cambiar pantalla hepestos por la full grafics
#1
hola a todos.. resulta que llevo unos dias.. dandole vueltas a un tema y es cambiar la pantalla por esa mas grande y hermosa... hace un año que me registre en el foro.. y mi mente no se porque me habia borrado..  Huh  solo puse mi mensaje de presentacion.... supongo que quedarme inmerso en mis proyectos.. y freirme el coco a base de cabezazos... 


os comento que me pasa y no se por que .. a ver si alguien me puede ayudar.. el tema es que quiero cambiar la pantalla de la hepestos por la full grafics.. 

total que deshabilito la linea en el marlin hepestos y habilito la otra .. me he asegurado de tener la libreria 8uglib

pero al compilar me da un pedazo de error.. 

este
Código:
;

In file included from sketch\dogm_lcd_implementation.h:40:0,

                 from sketch\ultralcd.cpp:36:

sketch\ultralcd_st7920_u8glib_rrd.h: In function 'uint8_t u8g_dev_rrd_st7920_128x64_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)':

sketch\ultralcd_st7920_u8glib_rrd.h:40:95: warning: large integer implicitly truncated to unsigned type [-Woverflow]

 #define ST7920_WRITE_BYTE(a)     {ST7920_SWSPI_SND_8BIT((a)&0xf0);ST7920_SWSPI_SND_8BIT((a)<<4);u8g_10MicroDelay();}

                                                                                               ^

sketch\ultralcd_st7920_u8glib_rrd.h:63:9: note: in expansion of macro 'ST7920_WRITE_BYTE'

         ST7920_WRITE_BYTE(0x3E);       //extended mode + GDRAM active

         ^

sketch\ultralcd_st7920_u8glib_rrd.h:40:95: warning: large integer implicitly truncated to unsigned type [-Woverflow]

 #define ST7920_WRITE_BYTE(a)     {ST7920_SWSPI_SND_8BIT((a)&0xf0);ST7920_SWSPI_SND_8BIT((a)<<4);u8g_10MicroDelay();}

                                                                                               ^

sketch\ultralcd_st7920_u8glib_rrd.h:67:11: note: in expansion of macro 'ST7920_WRITE_BYTE'

           ST7920_WRITE_BYTE(0x80);     //set x = 0

           ^

sketch\ultralcd_st7920_u8glib_rrd.h:40:95: warning: large integer implicitly truncated to unsigned type [-Woverflow]

 #define ST7920_WRITE_BYTE(a)     {ST7920_SWSPI_SND_8BIT((a)&0xf0);ST7920_SWSPI_SND_8BIT((a)<<4);u8g_10MicroDelay();}

                                                                                               ^

sketch\ultralcd_st7920_u8glib_rrd.h:94:13: note: in expansion of macro 'ST7920_WRITE_BYTE'

             ST7920_WRITE_BYTE(0x80);           //x=0

             ^

sketch\ultralcd_st7920_u8glib_rrd.h:40:95: warning: large integer implicitly truncated to unsigned type [-Woverflow]

 #define ST7920_WRITE_BYTE(a)     {ST7920_SWSPI_SND_8BIT((a)&0xf0);ST7920_SWSPI_SND_8BIT((a)<<4);u8g_10MicroDelay();}

                                                                                               ^

sketch\ultralcd_st7920_u8glib_rrd.h:99:13: note: in expansion of macro 'ST7920_WRITE_BYTE'

             ST7920_WRITE_BYTE(0x80 | 8);       //x=64

             ^

sketch\ultralcd.cpp: In function 'void config_lcd_level_bed()':

ultralcd.cpp:758: error: 'lcd' was not declared in this scope

   lcd.clear(); 

   ^

sketch\ultralcd.cpp: In function 'void lcd_level_bed_cooling()':

ultralcd.cpp:769: error: 'lcd' was not declared in this scope

           lcd.setCursor(0, 0);

           ^

ultralcd.cpp:791: error: 'lcd' was not declared in this scope

    lcd.clear();

    ^

sketch\ultralcd.cpp: In function 'void lcd_level_bed()':

ultralcd.cpp:800: error: 'lcd' was not declared in this scope

        lcd.clear(); 

        ^

sketch\ultralcd.cpp: In function 'void lcd_load_material_extrud_1()':

ultralcd.cpp:944: error: 'lcd' was not declared in this scope

     lcd.setCursor(3, 2);

     ^

sketch\ultralcd.cpp: In function 'void lcd_unload_material_extrud_1()':

ultralcd.cpp:990: error: 'lcd' was not declared in this scope

     lcd.setCursor(3, 2);

     ^

sketch\ultralcd.cpp: In function 'void lcd_init()':

ultralcd.cpp:1418: error: 'lcd' was not declared in this scope

     lcd.clear();

     ^

exit status 1
'lcd' was not declared in this scope

..


alguien sabe donde puede estar el fallo o que debo hacer.. estare eternamente agradecido.. 

un saludo a todos..
  Responder
#2
No sé si es por qué estoy desde el móvil pero la
Línea de código no aparece.

Un saludo


Enviado desde mi iPhone utilizando Tapatalk
  Responder
#3
Asegurate de comentar el anterior lcd que tenías
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  CONSULTA Cambiar el Marlin Afa1957 3 0 23-05-2023, 01:03 AM
Último mensaje: Afa1957
Pregunta CONSULTA Cambiar driver a una Impresora de resina gerard 0 264 21-11-2021, 09:41 PM
Último mensaje: gerard
  CONSULTA Ramps 1.4 y LCD Full Graphics Controller mati1608 9 1,181 06-08-2021, 10:57 PM
Último mensaje: Simemart
  CONSULTA CAMBIAR DRIVERS Boost4 5 2,919 06-03-2020, 11:23 AM
Último mensaje: Simemart
  Problemas al cambiar drivers en impresora cybjay 2 1,337 14-10-2018, 04:15 PM
Último mensaje: cybjay