Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

Anet A8 + Reprap discount smart controller on marlin 2.0 (2 replies)

$
0
0
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?

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>