Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 July 07, 2013 05:35AM |
Registered: 13 years ago Posts: 81 |
ultralcd.cpp: In function 'void lcd_init()': ultralcd.cpp:829: error: 'SHIFT_CLK' was not declared in this scope ultralcd.cpp:830: error: 'SHIFT_LD' was not declared in this scope ultralcd.cpp:831: error: 'SHIFT_EN' was not declared in this scope ultralcd.cpp:832: error: 'SHIFT_OUT' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_RPORT' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope ultralcd.cpp:833: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_RPORT' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_PIN' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_PIN' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_PIN' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope ultralcd.cpp:834: error: 'DIOSHIFT_LD_PIN' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_RPORT' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_PIN' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_PIN' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_PIN' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope ultralcd.cpp:835: error: 'DIOSHIFT_EN_PIN' was not declared in this scope
... WRITE(SHIFT_LD,HIGH); #endif #else pinMode(SHIFT_CLK,OUTPUT); <-- This is where the error appears pinMode(SHIFT_LD,OUTPUT); pinMode(SHIFT_EN,OUTPUT); pinMode(SHIFT_OUT,INPUT); WRITE(SHIFT_OUT,HIGH); WRITE(SHIFT_LD,HIGH); WRITE(SHIFT_EN,LOW); #endif//!NEWPANEL
Re: Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 July 09, 2013 04:07AM |
Registered: 11 years ago Posts: 129 |
#define REPRAPWORLD_KEYPAD #define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // how much should be moved when a key is pressed, eg 10.0 means 10mm per click
#else // pinMode(SHIFT_CLK,OUTPUT); // pinMode(SHIFT_LD,OUTPUT); // pinMode(SHIFT_EN,OUTPUT); // pinMode(SHIFT_OUT,INPUT); // WRITE(SHIFT_OUT,HIGH); // WRITE(SHIFT_LD,HIGH); // WRITE(SHIFT_EN,LOW); #endif//!NEWPANEL
Re: Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 August 31, 2013 02:53AM |
Re: Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 August 31, 2013 03:03AM |
Registered: 11 years ago Posts: 129 |
Re: Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 January 05, 2014 12:05PM |
Registered: 10 years ago Posts: 188 |
Re: Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 January 19, 2014 10:18AM |
Registered: 10 years ago Posts: 28 |
Re: Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 January 23, 2014 11:35PM |
Registered: 12 years ago Posts: 258 |
Re: Marlin compile error when enabling ULTRA_LCD define with Megatronics 2.0 February 13, 2017 01:14PM |
Registered: 7 years ago Posts: 2 |