This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Archivo configuration.h arduino mega para anet A8
#1
Necesito el archivo de configuración para cambiar la placa Anet V1 por arduino mega con raps 1.4, por mas vueltas que doy no lo encuentro.
Gracias
Roque7
  Responder
#2
Para lo que indicas tienes dos opciones: utilizar los archivos de configuración que vienen por defecto en Marlin, cambiando los valores adecuados para la A8 (ya que vienen preconfigurados para la RAMPS), o bien, partir de los que vienen preconfigurados para la A8, cambiando lo que sea necesario (la placa, pantalla, etc).
Creo que la mejor opción es la primera.
  Responder
#3
He usado el Marlin y he puesto los valores de la A8 pero obtengo estos errores:
Arduino:1.8.7 (Windows 10), Tarjeta:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch\configuration_store.cpp: In static member function 'static void MarlinSettings::reset()':

configuration_store.cpp:1909:32: error: 'DEFAULT_Kp' was not declared in this scope

PID_PARAM(Kp, e) = float(DEFAULT_Kp);

^

In file included from sketch\configuration_store.cpp:52:0:

configuration_store.cpp:1910:37: error: 'DEFAULT_Ki' was not declared in this scope

PID_PARAM(Ki, e) = scalePID_i(DEFAULT_Ki);

^

sketch\temperature.h:115:30: note: in definition of macro 'scalePID_i'

#define scalePID_i(i) ( (i) * float(PID_dT) )

^

configuration_store.cpp:1911:37: error: 'DEFAULT_Kd' was not declared in this scope

PID_PARAM(Kd, e) = scalePID_d(DEFAULT_Kd);

^

sketch\temperature.h:117:30: note: in definition of macro 'scalePID_d'

#define scalePID_d(d) ( (d) / float(PID_dT) )

^

exit status 1
'DEFAULT_Kp' was not declared in this scope

Este reporte podría tener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

Bueno haciéndolo al revés, con la configuración de la anet V1 y cambiandola por la mega y la gráfica compila sin error.
Gracias por vuestra ayuda.
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  DUDA Configuración Placa Arduino Mega Villaverde MK 2 1,435 28-09-2018, 02:13 PM
Último mensaje: Villaverde MK