Friends, I have just wasted 5 days of my life trying to install drivers for a genuine Arduino Mega 2560 and a made in china knock off. My computer was Windows 7 when I bought it but has upgraded to 8.1 by itself (thanks Bill Gates) Does not matter what I try I keep getting the dreaded CODE 10 message. I have selected COM ports from 1 to 33, I have tried Arduino 1.5.0 through to 1.6.6 and nothing works. I have changed computers, USB cables, and nothing works. Should I just abandon this project and beg alms at the gates of the temple, or is there a solution to this?
After much navel gazing I think I have cracked it. plug board in USB, goto Windows Device Manager, COM Ports, add Legacy hardware, Click through the add hardware wizard, and it will install the board with the usual dreaded CODE 10 error. Stay calm and don't panic! remove USB cable, shut down computer and reboot. Plug in USB cable to board.
Go back to device manager and there will be 2 Boards showing in the COMS & LPT one of which will have an error symbol, just delete it. and provided that there are no problems with the board it should be possible to upload firmware.
I found I could upload Repetier firmware to a genuine Arduino Board but not to the Chinese knock off. Still trying to get Marlin Firmware for the Delta printer to work.
Anyone tell me what this error means?
sketch\Marlin_main.cpp: In function 'void adjust_delta(float*)':
Marlin_main.cpp:3287: error: 'ACCURATE_BED_LEVELING_POINTS' was not declared in this scope
int half = (ACCURATE_BED_LEVELING_POINTS - 1) / 2;
^
In file included from sketch\Marlin.h:30:0,
from sketch\Marlin_main.cpp:30:
Marlin_main.cpp:3288: error: 'ACCURATE_BED_LEVELING_GRID_X' was not declared in this scope
float grid_x = max(0.001-half, min(half-0.001, cartesian[X_AXIS] / ACCURATE_BED_LEVELING_GRID_X));
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'
#define max(a,b) ((a)>(b)?(a):(b))
^
sketch\Marlin_main.cpp:3288:34: note: in expansion of macro 'min'
float grid_x = max(0.001-half, min(half-0.001, cartesian[X_AXIS] / ACCURATE_BED_LEVELING_GRID_X));
^
Marlin_main.cpp:3289: error: 'ACCURATE_BED_LEVELING_GRID_Y' was not declared in this scope
float grid_y = max(0.001-half, min(half-0.001, cartesian[Y_AXIS] / ACCURATE_BED_LEVELING_GRID_Y));
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:85:24: note: in definition of macro 'max'
#define max(a,b) ((a)>(b)?(a):(b))
^
sketch\Marlin_main.cpp:3289:34: note: in expansion of macro 'min'
float grid_y = max(0.001-half, min(half-0.001, cartesian[Y_AXIS] / ACCURATE_BED_LEVELING_GRID_Y));
^
Marlin_main.cpp:3294: error: 'bed_level' was not declared in this scope
float z1 = bed_level[floor_x+half][floor_y+half];
^
exit status 1
'ACCURATE_BED_LEVELING_POINTS' was not declared in this scope
Tooluser
I have exact the same problem with exact the same printer.