I've just finished building my first reprap Mendal Prusa i3
Was having fun tuning the traveling distance
But didn't know since when, the Marlin configuration code was failing the compile
The error msg says:
cardreader.cpp:25: error: 'DIOSDPOWER_WPORT' was not declared in this scope
cardreader.cpp:25: error: 'DIOSDPOWER_PIN' was not declared in this scope
cardreader.cpp: In member function 'void CardReader::initsd()':
cardreader.cpp:145: error: 'SDSS' was not declared in this scope
The below line was highlighted for the error:
SET_OUTPUT(SDPOWER);
I have attached a screenshot and actual configuration of the error page.
Marlini3V1.rar
Also that the LCD2004 has always been displaying strange things, either random squares or strange characters
I've followed the online instructions from RepRapDiscount Smart Controller page
RepRapDiscount Smart Controller
Marlin V1 (new)
In "Configuration.h”
Change line 46 to “#define MOTHERBOARD 33”
Change line 306 to “#define REPRAP_DISCOUNT_SMART_CONTROLLER” (just remove the // at the beginning)
Change line 326 to “#define NEWPANEL //enable this if you have a click-encoder panel” (just remove the // at the beginning)
Switch over to "Pins.h" and change line 318 to “#define RAMPS_V_1_3” (just remove the // at the beginning)
Upload the firmware, power off the Arduino, connect the panel, reapply power, and everything should work.