ylvov писал(а):Репитер Хост увидел Rambo а вот экран не получилось подрубить. Все так же 2 полосы и все
Там сказано : For Marlin firmware
Open up your marlin.pde and go to the fastio.h tab. Go down to line 1387 and copy/paste the following lines directly below the line that reads #define DIO69_PWM	NULL
- Код: Выделить всё • Развернуть
 #define DIO76_PIN    PINJ5
 #define DIO76_RPORT  PINJ
 #define DIO76_WPORT  PORTJ
 #define DIO76_DDR    DDRJ
 #define DIO76_PWM    NULL
 #define DIO77_PIN    PINJ6
 #define DIO77_RPORT  PINJ
 #define DIO77_WPORT  PORTJ
 #define DIO77_DDR    DDRJ
 #define DIO77_PWM    NULL
 #define DIO78_PIN    PINE2
 #define DIO78_RPORT  PINE
 #define DIO78_WPORT  PORTE
 #define DIO78_DDR    DDRE
 #define DIO78_PWM    NULL
 #define DIO79_PIN    PINE6
 #define DIO79_RPORT  PINE
 #define DIO79_WPORT  PORTE
 #define DIO79_DDR    DDRE
 #define DIO79_PWM    NULL
 #define DIO80_PIN    PINE7
 #define DIO80_RPORT  PINE
 #define DIO80_WPORT  PORTE
 #define DIO80_DDR    DDRE
 #define DIO80_PWM    NULL
 #define DIO81_PIN    PIND4
 #define DIO81_RPORT  PIND
 #define DIO81_WPORT  PORTD
 #define DIO81_DDR    DDRD
 #define DIO81_PWM    NULL
 
Не пойму так и вставлять сдвигая вниз это после #define DIO81_PWM    NULL
 
Ну получается так, после строки #define DIO81_PWM    NULL вставляете вышеперечисленный код,
затем открываете конфиг, проверяете чтобы совпадало с этим
//LCD and SD support
// #define ULTRA_LCD  //general lcd support, also 16x2
// #define SDSUPPORT // Enable SD Card Support in Hardware Console
// #define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
#define ULTIPANEL  //the ultipanel as on thingiverse
#ifdef ULTIMAKERCONTROLLER    //automatic expansion
 #define ULTIPANEL
 #define NEWPANEL
#endif 
#ifdef ULTIPANEL
#define NEWPANEL  //enable this if you have a click-encoder panel
  #define SDSUPPORT
  #define ULTRA_LCD
  #define LCD_WIDTH 20
  #define LCD_HEIGHT 4 
// Preheat Constants
  #define PLA_PREHEAT_HOTEND_TEMP 170 
  #define PLA_PREHEAT_HPB_TEMP 60
  #define PLA_PREHEAT_FAN_SPEED 0    // Insert Value between 0 and 255
  #define ABS_PREHEAT_HOTEND_TEMP 240
  #define ABS_PREHEAT_HPB_TEMP 100
  #define ABS_PREHEAT_FAN_SPEED 255    // Insert Value between 0 and 255
#else //no panel but just lcd 
  #ifdef ULTRA_LCD
    #define LCD_WIDTH 16
    #define LCD_HEIGHT 2    
  #endif
#endif
сохраняете
открываете pins.h
ищите 1205 строку
изменяете SDSS to 53
изменяете KILL_PIN to 80
затем ищите SUICIDE_PIN и после нее вставляете
#ifdef ULTRA_LCD
  #ifdef NEWPANEL
 //arduino pin which triggers an piezzo beeper
    #define BEEPER 79      // Beeper on AUX-4
    #define LCD_PINS_RS 70 
    #define LCD_PINS_ENABLE 71
    #define LCD_PINS_D4 72
    #define LCD_PINS_D5 73 
    #define LCD_PINS_D6 74
    #define LCD_PINS_D7 75   
   //buttons are directly attached using AUX-2
    #define BTN_EN1 76
    #define BTN_EN2 77
    #define BTN_ENC 78  //the click   
    #define BLEN_C 2
    #define BLEN_B 1
    #define BLEN_A 0   
    #define SDCARDDETECT 81    // Ramps does not use this port   
     //encoder rotation values
    #define encrot0 0
    #define encrot1 2
    #define encrot2 3
    #define encrot3 1
  #else //old style panel with shift register
   //arduino pin witch triggers an piezzo beeper
    #define BEEPER 33    No Beeper added
   //buttons are attached to a shift register
   // Not wired this yet
   // #define SHIFT_CLK 38
   // #define SHIFT_LD 42
   // #define SHIFT_OUT 40
   // #define SHIFT_EN 17   
    #define LCD_PINS_RS 75 
    #define LCD_PINS_ENABLE 17
    #define LCD_PINS_D4 23
    #define LCD_PINS_D5 25 
    #define LCD_PINS_D6 27
    #define LCD_PINS_D7 29   
   //encoder rotation values
    #define encrot0 0
    #define encrot1 2
    #define encrot2 3
    #define encrot3 1   
   //bits in the shift register that carry the buttons for:
   // left up center down right red
    #define BL_LE 7
    #define BL_UP 6
    #define BL_MI 5
    #define BL_DW 4
    #define BL_RI 3
    #define BL_ST 2
    #define BLEN_B 1
    #define BLEN_A 0
  #endif 
#endif //ULTRA_LCD
сохраняете, загружаете, ваш рэмбо готов  
