ciao a tutti, sto cercando di costruire una cnc, ma già sulla parte elettronica sto riscontrando qualche difficoltà.
Attualmente posseggo un Arduino mega 2560, ( sono in attesa che arrivi anche l'UNO), il problema che sto riscontrando è nel caricamento dello sketch, ho scaricato la libreria GRBL9eMega2560, ma quando faccio compile vengono fuori i seguenti messaggi :
In file included from /private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/system.h:41:0,
from /private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/gcode.h:25,
from /Users/luca/Documents/Arduino/mega/mega.ino:6:
/private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/nuts_bolts.h:42:0: warning: "max" redefined
#define max(a,b) (((a) > (b)) ? (a) : (b))
^
In file included from sketch/mega.ino.cpp:1:0:
/private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:93:0: note: this is the location of the previous definition
#define max(a,b) ((a)>(b)?(a):(b))
^
In file included from /private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/system.h:41:0,
from /private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/gcode.h:25,
from /Users/luca/Documents/Arduino/mega/mega.ino:6:
/private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/nuts_bolts.h:43:0: warning: "min" redefined
#define min(a,b) (((a) < (b)) ? (a) : (b))
^
In file included from sketch/mega.ino.cpp:1:0:
/private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:92:0: note: this is the location of the previous definition
#define min(a,b) ((a)<(b)?(a):(b))
^
In file included from /private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/system.h:41:0,
from /private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/gcode.h:25,
from /Users/luca/Documents/Arduino/mega/mega.ino:6:
/private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/libraries/Grbl9eMega2560/nuts_bolts.h:46:0: warning: "bit" redefined
#define bit(n) (1 << n)
^
In file included from sketch/mega.ino.cpp:1:0:
/private/var/folders/qm/gw_wf72908b7cqv_qv15khz00000gn/T/AppTranslocation/E9336C85-A2B8-46A0-BDC9-582FA50929A3/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:123:0: note: this is the location of the previous definition
#define bit(b) (1UL << (b))
cosa c'è che non va?