aggrav8d:
Hi all. Reviving this old thread because I, too, am having trouble getting mega 2560+ramps 1.4+reprap discount smart controller to work. I'm running Arduino 1.8.9 with Windows 10.
controller is RepRapDiscount Smart Controller - RepRap
My setup includes the adapter shield and looks like: Imgur: The magic of the Internet
my test is:
#define BEEPER 37
#define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23
#define LCD_PINS_D5 25
#define LCD_PINS_D6 27
#define LCD_PINS_D7 29
// Encoder rotation values
#define BTN_EN1 31
#define BTN_EN2 33
#define BTN_ENC 35
// SD card settings
#define SDPOWER -1
#define SDSS 53
#define SDCARDDETECT 49
#define KILL_PIN 41
#define LCD_HEIGHT 4
#define LCD_WIDTH 20
#include <LiquidCrystal.h>
LiquidCrystal lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
void setup() {
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
lcd.display();
lcd.noCursor();
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Hello, World!");
pinMode(BEEPER,OUTPUT);
digitalWrite(BEEPER,HIGH);
delay(100);
digitalWrite(BEEPER,LOW);
}
void loop() {
lcd.setCursor(0, 1);
lcd.print(millis() / 1000);
}
for some reason the lights don't even come on and I never hear the expected beep.
When i use the exact same pins with Marlin, everything works.
I just can't see what I've missed. Contrast dial is not the issue. swapping out hardware makes no diff. I know the panel works
Hi
I just uploaded your code and it's working fine. bip and Hello word, but your board is not looking as this one RepRapDiscount Smart Controller - RepRap