Welcome! Log In Create A New Profile

Advanced

Anet A8 + Reprap discount smart controller on marlin 2.0

Posted by antonkostov 
Anet A8 + Reprap discount smart controller on marlin 2.0
April 01, 2020 06:42AM
Hi guys, ordered a replacement for my lcd, but got REPRAP_DISCOUNT_SMART_CONTROLLER instead, I wonder if I can use it.
So, what I did:

#define SDSUPPORT
#define REPRAP_DISCOUNT_SMART_CONTROLLER
//#define ZONESTAR_LCD

But I get an error while compiling a marlin 2.0 firmware

sketch/src/lcd/HD44780/ultralcd_HD44780.cpp:99:17: error: 'LCD_PINS_RS' was not declared in this scope
   LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
                 ^~~~~~~~~~~
sketch/src/lcd/HD44780/ultralcd_HD44780.cpp:99:17: note: suggested alternative: 'LCD_PINS_D4'
   LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
                 ^~~~~~~~~~~
                 LCD_PINS_D4
sketch/src/lcd/HD44780/ultralcd_HD44780.cpp:99:30: error: 'LCD_PINS_ENABLE' was not declared in this scope
   LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
                              ^~~~~~~~~~~~~~~
sketch/src/lcd/HD44780/ultralcd_HD44780.cpp:99:30: note: suggested alternative: 'LCD_PINS_D4'
   LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
                              ^~~~~~~~~~~~~~~
                              LCD_PINS_D4
exit status 1
Error compiling for board Anet V1.0.

I have no idea what to do with this, would appreciate any help.

This is what I've found in pins_ANET_10.h

/**
 * LCD / Controller
 *
 * Only the following displays are supported:
 *  ZONESTAR_LCD
 *  ANET_FULL_GRAPHICS_LCD
 *  REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
 */

So it's not supported, is there no way to make it work?

Edited 1 time(s). Last edit at 04/01/2020 06:57AM by antonkostov.
Re: Anet A8 + Reprap discount smart controller on marlin 2.0
April 01, 2020 07:06AM
The pins.h file that describes the board Anet V1.0 is not setup for a REPRAP_DISCOUNT_SMART_CONTROLLER lcd.

In fact the file pins_ANET_10.h says (which you already spotted)

* Only the following displays are supported:
 *  ZONESTAR_LCD
 *  ANET_FULL_GRAPHICS_LCD
 *  REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

There are insufficient pins connected to those ports on this controller to use a REPRAP_DISCOUNT_SMART_CONTROLLER,

Sadly this is just not possible without major board modifications,

Edited 1 time(s). Last edit at 04/01/2020 07:08AM by Dust.
Re: Anet A8 + Reprap discount smart controller on marlin 2.0
April 01, 2020 08:16AM
Hey
Quote
Dust

Thank you for confirming, I guess I'll just solder the screen out and will put it on lcd.
Topic's closed.
Sorry, only registered users may post in this forum.

Click here to login