I am trying to follow the Zennmaster tutorial on setting up ABL, BUT... Ihave hit a snag as his instructions follow the RAMPS board and I have the RUMBA.

Now I have googled and searched the forum and I thought that I had found the answer in the form of modifying my "pins.h" to contain the following:

Code:
#ifdef NUM_SERVOS
     #define SERVO0_PIN         5

     #if NUM_SERVOS > 1
          #define SERVO1_PIN         4
     #endif

     #if NUM_SERVOS > 2
          #define SERVO2_PIN         -1
     #endif

     #if NUM_SERVOS > 3
          #define SERVO3_PIN         -1
     #endif
#endif
So I did this and I tried to verify and compile and I got a mass of errors, as seen below

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
In file included from /Marlin.h:23,
from cardreader.cpp:1:
/pins.h:1250:1: error: unterminated #if
/pins.h:1247:1: error: unterminated #ifdef
/pins.h:1206:1: error: unterminated #if
/pins.h:1:1: error: unterminated #ifndef
cardreader.cpp: In constructor 'CardReader::CardReader()':
cardreader.cpp:28: error: 'DIOSDPOWER_DDR' was not declared in this scope
cardreader.cpp:28: error: 'DIOSDPOWER_PIN' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_RPORT' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_WPORT' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_PIN' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_WPORT' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_PIN' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_WPORT' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_PIN' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_WPORT' was not declared in this scope
cardreader.cpp:29: error: 'DIOSDPOWER_PIN' was not declared in this scope
cardreader.cpp: In member function 'void CardReader::initsd()':
cardreader.cpp:154: error: 'SDSS' was not declared in this scope

Now I am fairly new to arduino coding, but to me it looks like I closed my end ifs correctly. So does anyone have any suggestions that could help me out?


In my system currently running the Marlin firmware supplied from Colin's server on my RUMBA board.