Moure canell

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14427
    azuniga2
    Participant

    Hola,

    Algú sap quina és la instrucció per moure l’articulació del canell?

    #14666
    amarcos
    Participant

    Començo des de zero per a qui no hagi tingut cap contacte amb una impresora 3D com era el meu cas. Descriuré amb detall com ho he fet per que el moveo respongui al pronterface com un primer pas pel que fa a la inclinació del canell.
    El software que hi ha carregat a un arduino-impressora es diu MARLIN, en primer lloc cal saber si al nostre arduino-moveo hi tenim carregat i configurat el MARLIN amb les opcions correctes i no pas amb les genèriques mínimes de una impressora 3D qualsevol.
    Això es prou important per que al hithub de bcn3d, dins l’apartat del Moveo, hi ha sorprenentment un Marlin genèric de impressora i que per tant no és el adequat per carregar directament al Moveo.
    Fins on jo sé és necessari que tinguem configurat el segon extrusor de impressora dins el Marlin per que utilitza aquestes sortides pel driver del motor pas a pas que donarà opció al moviment de inclinació del canell.
    Això es pot verificar amb el mateix Pronterface que en el nostre cas no reconeixia la presencia del segon extrusor i per tant era inútil intentar enviar g-code.
    Si estem amb aquesta situació i donat que no podem veure/verificar el soft carregat a l’arduino mega del Moveo, cal recompilar el Marlin vigilant de tenir ben configurada aquesta opció. Desprès amb el PronterFace podrem verificar que actua correctament.
    Com a pas previ he provat que intercanviar les sortides de la placa Ram1.4 entre Extrusor1<=>extrusor2 i assegurar-me del correcte funcionament del hardware. El fet de actuar sobre el extrusor1 al PronterFace ara mourà el motor que inclina el canell, que es la resposta esperada. Recordem de refer les connexions originals.
    Anem a modificar el fitxer de configuració. A l’adreça https://github.com/BCN3D/BCN3D-Moveo baixem tots els fitxer amb la casella “clone or download” en color verd, dalt a banda dreta, ho fem en format ZIP. Dins de la carpeta FIRMWARE/Marlin_BCN3D_Moveo hi trobem el fitxer Configuration.h que cal obrir com qualsevol fitxer txt que és amb qualsevol editor o el mateix IDE. Busquem el paràgraf per allà la línia núm 50
    // This defines the number of extruders
    #define EXTRUDERS 1
    – – – – – aquest 1 cal que el modifiquem per un 2, guardem el fitxer i compilem dins el IDE de l’arduino el fitxer Marlin_BCN3D_Moveo.ino al costat de tots els altres fitxer. Verifiquem que no hi hagi errors i carreguem aquest firm a l’arduino mega.
    Ara ja estem en condicions de provar d’enviar la seqüencia d’ordres de codi g que ho deixem per a una altre entrada.
    Salut.

    #14732
    azuniga2
    Participant

    He seguit els passos però quan poso 2 a #EXTRUDERS em salta aquest error. Si ho deixo a 1 compila sense problemes aixi que potser s’ha de canviar alguna cosa més.

    Arduino:1.6.11 (Linux), Tarja: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:45: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                        ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                               ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                                                            ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    fastio.h:39: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                               ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    fastio.h:39: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                                                             ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                            ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                         ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                     ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                                                   ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:45: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                        ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                               ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                                                            ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    fastio.h:39: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                               ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    fastio.h:39: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                                                             ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                            ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                         ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                     ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                                                   ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:45: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                        ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                               ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                                                            ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    fastio.h:39: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                               ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    fastio.h:39: error: pasting "DIO" and "-" does not give a valid preprocessing token
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                                                             ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                            ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                         ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                     ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    fastio.h:30: error: pasting "DIO" and "-" does not give a valid preprocessing token
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                                                   ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    sketch/temperature.cpp: In function 'void __vector_22()':
    fastio.h:45: error: 'DIO' was not declared in this scope
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                        ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_RPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:45:44: note: in definition of macro '_WRITE'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C'
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                                       ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C'
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                                       ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC'
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC'
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:24: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                            ^
    sketch/temperature.cpp:1270:30: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                  ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:45: error: 'DIO' was not declared in this scope
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                        ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_RPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:45:44: note: in definition of macro '_WRITE'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C'
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                                       ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C'
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                                       ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC'
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC'
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1270:52: note: in expansion of macro 'WRITE'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                        ^
    sketch/temperature.cpp:1270:58: note: in expansion of macro 'HEATER_1_PIN'
         if(soft_pwm_1 > 0) WRITE(HEATER_1_PIN,1); else WRITE(HEATER_1_PIN,0);
                                                              ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    fastio.h:45: error: 'DIO' was not declared in this scope
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                        ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_RPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:45:44: note: in definition of macro '_WRITE'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C'
                                              {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
                                                       ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C'
                                              {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
                                                       ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    In file included from sketch/Marlin.h:21:0,
                     from sketch/temperature.cpp:32:
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC'
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_WPORT'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC'
     #define _WRITE_NC(IO, v)  do { if (v) {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    pins.h:687: error: unable to find numeric literal operator 'operator""_PIN'
         #define HEATER_1_PIN       -1
                                     ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
     #define MASK(PIN)  (1 << PIN)
                              ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
     #define _WRITE(IO, v)  do {  if (&(DIO ##  IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
                                                                                                             ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
     #define WRITE(IO, v)  _WRITE(IO, v)
                           ^
    sketch/temperature.cpp:1292:30: note: in expansion of macro 'WRITE'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                  ^
    sketch/temperature.cpp:1292:36: note: in expansion of macro 'HEATER_1_PIN'
       if(soft_pwm_1 < pwm_count) WRITE(HEATER_1_PIN,0);
                                        ^
    exit status 1
    pasting "DIO" and "-" does not give a valid preprocessing token
    Aquest informe tindria més informació amb
    la opció "Mostra la sortida detallada durant la compilació"
    activada a Fitxer -> Preferències.
    
    #14841
    amarcos
    Participant

    Jo ho vaig fer amb win, crec que tambè vaig configurar la placa com “34” dins el mateix Config.h
    #ifndef MOTHERBOARD
    #define MOTHERBOARD 33 —–> 34
    —–
    Crec que es podria retirar molts fitxers auxiliars dedicats a les impressores que al moveo no tenen cap sentit. Estaria bé un firm mínim.

    #15002
    azuniga2
    Participant

    Gràcies amarcos. Ja he aconseguit moure el canell.
    M’he trobat amb un altre problema. Per moure el canell s’ha d’anar canviant entre extrusor 0 i extrusor 1 però la coordenada de posició que fa servir el robot és la mateixa per les 2 articulacions. És a dir, si movem l’articulació de l’extrusor 0 fins a la coordenada 5.0 quan canviem a moure l’articulació de l’extrusor 1 la tenim a la coordenada 5.0 encara que no l’haguem mogut encara i que es trobi a 0.0. Si desprès movem l’extrusor 1 i enviem el robot a home no ho farà correctament. Això dificultarà una mica la programació del robot movent totes les articulacions, a no ser que hi hagi una manera diferent de com ho estic fent per moure-les.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.