Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RADDS + REPRAP_DISCOUNT_SMART_CONTROLLER #12765

Closed
mignolo4 opened this issue Dec 30, 2018 · 6 comments
Closed

RADDS + REPRAP_DISCOUNT_SMART_CONTROLLER #12765

mignolo4 opened this issue Dec 30, 2018 · 6 comments

Comments

@mignolo4
Copy link

mignolo4 commented Dec 30, 2018

It seems that I had bad luck choosing the hw for my 3d printer :-)

After I gave up with the issue here ( #12461 ), few days ago I had the opportunity to try the
REPRAP_DISCOUNT_SMART_CONTROLLER on the same 3dprinter (a DELTA style printer with RADDS board and ArduinoDue)

The problem is:
as soon as I choose that LCD, without any other change (apart the RADDS board) the compiling fails:

sketch\src\lcd\HD44780\ultralcd_HD44780.cpp:90: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:90: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);
exit status 1
Errore durante la compilazione per la scheda Arduino Due (Programming Port).

Steps to Reproduce

  • download the current build (bugfix-2.0.x obviously)
  • edit configuration.h with
    #define MOTHERBOARD BOARD_RADDS
    #define REPRAP_DISCOUNT_SMART_CONTROLLER
  • compile -> errors

I suppose is not necessary but...
Configuration.zip

@GMagician
Copy link
Contributor

GMagician commented Dec 30, 2018

remove // from your config in line with #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER if this is your lcd.
It seems REPRAP_DISCOUNT_SMART_CONTROLLER is not defined in radss

@mignolo4
Copy link
Author

mignolo4 commented Dec 30, 2018

@GMagician
REPRAP_DISCOUNT_SMART_CONTROLLER is my current lcd

edit:
I spent the whole afternoon trying different things, but I failed :-(

Mainly I tried to add this to the pins_RADDS.h :

  #elif ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
    #define LCD_PINS_RS     42
    #define LCD_PINS_ENABLE 43
    #define LCD_PINS_D4     44
    #define LCD_PINS_D5     45
    #define LCD_PINS_D6     46
    #define LCD_PINS_D7     47
    #define BEEPER_PIN      41
    #define BTN_EN1         50
    #define BTN_EN2         52
    #define BTN_ENC         48
    #define SDSS            10
    #define SD_DETECT_PIN   14

under the #if ENABLED(ULTRA_LCD) section.

At this point indeed it compiles with no errors but the lcd remain empty as before.
Through Repetier Host I can see the printer works as expected and the sdcard too.
This time, even the other firmwares don't work (tried RepetierFW and MarlinKimbra).
The display I'm using comes from a Anycubic Linear Plus.

So now the only display I could use is a RADDS_DISPLAY, but I'd rather not spend the money in another display.
@thinkyhead I'm lost without you (and your team), and onestly it seems strange to me that RADDS+FGLCD or SmartController are not so widespread out there :-)

@boelle
Copy link
Contributor

boelle commented Feb 21, 2019

@mignolo4 still an issue?

@mignolo4
Copy link
Author

It was my fault, there was a mistake I did building the adapter + you need to add the above-mentioned section to the "pins_RADDS.h" file.
You can close it, thank you @boelle

N.B. Anyway I think it could be useful for everyone to add that section to the "pins_RADDS.h" file!

@boelle
Copy link
Contributor

boelle commented Feb 24, 2019

i can't close, only you and @thinkyhead can close

but yes, if the comments in firmware needs to be more clear its also @thinkyhead that can do that

@github-actions
Copy link

github-actions bot commented Jul 5, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants