Welcome! Log In Create A New Profile

Advanced

Full Graphics su Ramps 1.4

Posted by edofalcone 
Full Graphics su Ramps 1.4
February 18, 2016 03:28AM
Ciao a tutti,
sto costruendo una i3 Rework, ho ricevuto la mega 2560, ramps e full graphic smart controller, cercando di caricare marvin, seppur installando la libreria u8glib, seppur togliendo // a
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
, ricevo il messaggio d'errore
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
...che s'ha da fa?confused smiley
Ho già provato molte delle soluzioni proposte sul web.. Please HELP!
Re: Full Graphics su Ramps 1.4
February 18, 2016 04:08AM
Ciao anche a me dava un errore simile,ho risolto scaricando un altra versione della Liberia e è andata..
Re: Full Graphics su Ramps 1.4
February 23, 2016 07:57AM
A voi funziona il buzzer? Quale FW usate?
Sorry, only registered users may post in this forum.

Click here to login