Welcome! Log In Create A New Profile

Advanced

Need help with LCD on Megatronics v3

Posted by Outbound 
Need help with LCD on Megatronics v3
March 11, 2016 10:01AM
Greetings, I previously posted this in the Marlin Firmware section but I'm getting no response.

I have a 20x4 LCD for use with the Megatronics v3.

I've tried following the tutorial but I'm no being able to properly configure the display. All I get at most is two lines of solid squares when I mess around with the trimpot on the board. I do get a few characters on the bottom line

Right now the only LCD configuration lines I have in the firmware are the following in the main.ino file:

#ifdef ULTRA_LCD
  #if defined(LCD_I2C_TYPE_PCF8575)
    #include 
    #include 
  #elif defined(LCD_I2C_TYPE_MCP23017) || defined(LCD_I2C_TYPE_MCP23008)
    #include 
    #include 
  #elif defined(DOGLCD)
    #include  // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)
  #else
    #include  // library for character LCD
  #endif
#endif



I've also tried adding it like so:

#ifdef ULTRA_LCD
   #define LCD_WIDTH 20
   #define LCD_HEIGHT 4
// #endif
//
//#ifdef ULTRA_LCD
  #if defined(LCD_I2C_TYPE_PCF8575)
    #include 
    #include 
  #elif defined(LCD_I2C_TYPE_MCP23017) || defined(LCD_I2C_TYPE_MCP23008)
    #include 
    #include 
  #elif defined(DOGLCD)
    #include  // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)
  #else
    #include  // library for character LCD
  #endif
#endif




Am I over defining the LCD settings?

Any help is appreciated.

Edited 1 time(s). Last edit at 03/11/2016 10:02AM by Outbound.
Sorry, only registered users may post in this forum.

Click here to login