Welcome! Log In Create A New Profile

Advanced

Marlin error in temperature.h

Posted by Anthrochick 
Marlin error in temperature.h
September 12, 2012 11:19AM
Okay,everything was going fine last night until I tried to compile and I received this error:
temperature.cpp:52: error: 'DEFAULT_Kp' was not declared in this scope
temperature.cpp:53: error: 'DEFAULT_Ki' was not declared in this scope
temperature.cpp:54: error: 'DEFAULT_Kd' was not declared in this scope
I've tried looking for what the reason for this could be but so far, the only results google wants to spit at me is for marlin fishing.

Any help is appreciated

Update:
I exited out of arduino and tried again. I did not change a thing between the last time I tried to upload and now:

temperature.cpp:52: error: 'DEFAULT_Kp' was not declared in this scope
temperature.cpp:53: error: 'DEFAULT_Ki' was not declared in this scope
temperature.cpp:54: error: 'DEFAULT_Kd' was not declared in this scope
temperature.cpp: In function 'void PID_autotune(float)':
temperature.cpp:195: error: invalid type argument of 'unary *'
temperature.cpp:210: error: expected primary-expression before '}' token
temperature.cpp:210: error: expected `;' before '}' token

Why do I keep getting these errors that only show up occassionally?

Edited 1 time(s). Last edit at 09/12/2012 11:39AM by Anthrochick.


Bringing 3D printing to America's classrooms.

Follow my efforts at TheChicksNest.blogspot.com
Re: Marlin error in temperature.h
September 12, 2012 11:44AM
Looks like you have turned on pid temperature control, but not given it any numbers to work with.
Look in configuration.h under line 95 // PID Settings (depending on what version of Marlin you are using)
Compare with the version on github: [github.com]
Sorry, only registered users may post in this forum.

Click here to login