-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Trying to compile for MOTHERBOARD RAMPS14 with Arduino 1.8.5
Installed UTFT but UTouch was replaced by URTouch. Found older uTouch release @ https://github.com/dgolda/UTouch and installed that.
Tried both with URtouch (include URToruch.h) and uTouch but does not work.
polargraph_server_polarshield:371: error: 'LCD_TYPE' was not declared in this scope
UTFT lcd(LCD_TYPE, 38,39,40,41);
^
lcd:128: error: 'LCD_TYPE' was not declared in this scope
byte gap = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 10 : 10;
^
lcd:128: error: 'LCD_TYPE' was not declared in this scope
byte gap = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 10 : 10;
^
lcd:128: error: 'TFT01_24_8' was not declared in this scope
byte gap = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 10 : 10;
^
lcd:131: error: 'LCD_TYPE' was not declared in this scope
static int screenWidth = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 320 : 220;
^
lcd:131: error: 'LCD_TYPE' was not declared in this scope
static int screenWidth = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 320 : 220;
^
lcd:131: error: 'TFT01_24_8' was not declared in this scope
static int screenWidth = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 320 : 220;
^
lcd:132: error: 'LCD_TYPE' was not declared in this scope
static int screenHeight = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 240 : 176;
^
lcd:132: error: 'LCD_TYPE' was not declared in this scope
static int screenHeight = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 240 : 176;
^
lcd:132: error: 'TFT01_24_8' was not declared in this scope
static int screenHeight = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 240 : 176;
^
lcd:133: error: 'LCD_TYPE' was not declared in this scope
static int centreYPosition = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 112 : 80;
^
lcd:133: error: 'LCD_TYPE' was not declared in this scope
static int centreYPosition = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 112 : 80;
^
lcd:133: error: 'TFT01_24_8' was not declared in this scope
static int centreYPosition = (LCD_TYPE == ITDB24E_8 || LCD_TYPE == TFT01_24_8) ? 112 : 80;
^
commented
//Uncomment the following line to use a 2.4" panel, August 2014 and later
//#define LCD_TYPE TFT01_24_8
//Uncomment the following line to use an older 2.4" panel, prior to August 2014.
//#define LCD_TYPE ITDB24E_8
//Uncomment the following line to use a 2.2" panel
//#define LCD_TYPE ITDB22
#ifndef MOTHERBOARD
//#define MOTHERBOARD POLARSHIELD
#define MOTHERBOARD RAMPS14
//#define MOTHERBOARD TFTSHIELD
#endif
//#define USE_LCD
Metadata
Metadata
Assignees
Labels
No labels