So recently I decided to build my first 3D printer so purchased a kit from RPtechworks on Ebay. After successfully putting it together I have finally got to the stage where it should be ready to print.
I have an issue though, when I try to manually control the axis motors they only move away from the end stops. I have tried triggering the switches and when they are triggered the axis can move in both directions so I have came to the conclusion that I need to invert the logic of the end stops.
I have tried inverting them in the firmware with Arduino but when I go to upload it to the printer or verify it I am greeted with a lot of errors. The version of Arduino I am using is 0023.
The errors are as follow:
In file included from Sprinter_Melzi.cpp:7:
/Configuration.h:655:2: error: #error Oops! Make sure you have the appropriate 'Sanguino' selected from the 'Tools -> Boards' menu.
Sprinter_Melzi.cpp: In function 'void setup()':
Sprinter_Melzi:225: error: 'DIO27_DDR' was not declared in this scope
Sprinter_Melzi:225: error: 'DIO27_PIN' was not declared in this scope
Sprinter_Melzi:226: error: 'DIO27_WPORT' was not declared in this scope
Sprinter_Melzi:226: error: 'DIO27_PIN' was not declared in this scope
Sprinter_Melzi:226: error: 'DIO27_WPORT' was not declared in this scope
Sprinter_Melzi:226: error: 'DIO27_PIN' was not declared in this scope
Sprinter_Melzi:231: error: 'PINC7' was not declared in this scope
Sprinter_Melzi:234: error: 'DIO23_DDR' was not declared in this scope
Sprinter_Melzi:234: error: 'DIO23_PIN' was not declared in this scope
Sprinter_Melzi:254: error: 'DIO26_DDR' was not declared in this scope
Sprinter_Melzi:254: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:255: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:255: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:255: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:255: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:329: error: 'DIO22_DDR' was not declared in this scope
Sprinter_Melzi:329: error: 'DIO22_PIN' was not declared in this scope
Sprinter_Melzi.cpp: In function 'void process_commands()':
Sprinter_Melzi:937: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:937: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:937: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:937: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi.cpp: In function 'void linear_move(long unsigned int*)':
Sprinter_Melzi:1182: error: 'PINC7' was not declared in this scope
Sprinter_Melzi:1182: error: 'PINC7' was not declared in this scope
Sprinter_Melzi:1183: error: 'PINC7' was not declared in this scope
Sprinter_Melzi:1183: error: 'PINC7' was not declared in this scope
Sprinter_Melzi:1184: error: 'DIO23_WPORT' was not declared in this scope
Sprinter_Melzi:1184: error: 'DIO23_PIN' was not declared in this scope
Sprinter_Melzi:1184: error: 'DIO23_WPORT' was not declared in this scope
Sprinter_Melzi:1184: error: 'DIO23_PIN' was not declared in this scope
Sprinter_Melzi:1185: error: 'DIO23_WPORT' was not declared in this scope
Sprinter_Melzi:1185: error: 'DIO23_PIN' was not declared in this scope
Sprinter_Melzi:1185: error: 'DIO23_WPORT' was not declared in this scope
Sprinter_Melzi:1185: error: 'DIO23_PIN' was not declared in this scope
Sprinter_Melzi:1216: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1216: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:1216: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1216: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:1433: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1433: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:1433: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1433: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi.cpp: In function 'void do_step(int)':
Sprinter_Melzi:1450: error: 'DIO22_WPORT' was not declared in this scope
Sprinter_Melzi:1450: error: 'DIO22_PIN' was not declared in this scope
Sprinter_Melzi:1450: error: 'DIO22_WPORT' was not declared in this scope
Sprinter_Melzi:1450: error: 'DIO22_PIN' was not declared in this scope
Sprinter_Melzi:1461: error: 'DIO22_WPORT' was not declared in this scope
Sprinter_Melzi:1461: error: 'DIO22_PIN' was not declared in this scope
Sprinter_Melzi:1461: error: 'DIO22_WPORT' was not declared in this scope
Sprinter_Melzi:1461: error: 'DIO22_PIN' was not declared in this scope
Sprinter_Melzi.cpp: In function 'void manage_heater()':
Sprinter_Melzi:1635: error: 'DIO27_RPORT' was not declared in this scope
Sprinter_Melzi:1635: error: 'DIO27_PIN' was not declared in this scope
Sprinter_Melzi:1642: error: 'DIO27_RPORT' was not declared in this scope
Sprinter_Melzi:1642: error: 'DIO27_PIN' was not declared in this scope
Sprinter_Melzi:1647: error: 'DIO27_WPORT' was not declared in this scope
Sprinter_Melzi:1647: error: 'DIO27_PIN' was not declared in this scope
Sprinter_Melzi:1647: error: 'DIO27_WPORT' was not declared in this scope
Sprinter_Melzi:1647: error: 'DIO27_PIN' was not declared in this scope
Sprinter_Melzi.cpp: In function 'void kill()':
Sprinter_Melzi:1775: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1775: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:1775: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1775: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi.cpp: In function 'void manage_inactivity(byte)':
Sprinter_Melzi:1784: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1784: error: 'DIO26_PIN' was not declared in this scope
Sprinter_Melzi:1784: error: 'DIO26_WPORT' was not declared in this scope
Sprinter_Melzi:1784: error: 'DIO26_PIN' was not declared in this scope
I have checked and the correct Sanguino has been selected for the board I have.
I have attached the firmware for the printer.
Thanks in advance for any help,
Andrew