sa fonctionne pas ton truc :
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(0)
#define ST7920_DELAY_2 DELAY_NS(250)
#define ST7920_DELAY_3 DELAY_NS(250)
Arduino : 1.8.6 (Windows Store 1.8.14.0) (Windows 10), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\MarlinConfig.h:30:0,
from sketch\Marlin.h:36,
from sketch\ultralcd.h:26,
from sketch\ultralcd.cpp:23:
sketch\ultralcd_st7920_u8glib_rrd.h: In function 'void ST7920_SWSPI_SND_8BIT(uint8_t)':
Configuration.h:1381:36: error: 'DELAY_NS' was not declared in this scope
#define ST7920_DELAY_2 DELAY_NS(250)
^
sketch\ultralcd_st7920_u8glib_rrd.h:87:38: note: in expansion of macro 'ST7920_DELAY_2'
WRITE(ST7920_DAT_PIN, val & 0x80); ST7920_DELAY_2; \
^
sketch\ultralcd_st7920_u8glib_rrd.h:92:3: note: in expansion of macro 'ST7920_SND_BIT'
ST7920_SND_BIT; // 1
^
Plusieurs bibliothèque trouvées pour "U8glib.h"
Utilisé : C:\Users\Tyno2\Documents\Arduino\libraries\U8glib
Non utilisé : C:\Users\Tyno2\Documents\Arduino\libraries\arduino_540355
exit status 1
'DELAY_NS' was not declared in this scope
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.