I've had a look at these threads for a bit. Quite a bit to go over.
DeltaCon wrote:One of the stinky changes in version 0.92 is that at some point they defined the motorcurrent values in percentage instead of a 1-255 value
Sounds nasty! From what I've seen so far 92.2 uses 0-255.
I've spent all day trying to get the Z_probe working in 92.2 but when I enable the probe from the FW I get compilation errors. Here is the error.
Code: Select all
C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Printer.cpp: In static member function 'static float Printer::runZProbe(bool, bool, uint8_t, bool)':
C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Printer.cpp:1441:80: error: call of overloaded 'printF(const char [], double)' is ambiguous
Com::printF(Com::tZProbeSteps,(distance * 80) - (Z_PROBE_BED_DISTANCE * 80));
^
C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Printer.cpp:1441:80: note: candidates are:
In file included from C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Repetier.h:361:0,
from C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Printer.cpp:19:
C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Communication.h:398:13: note: static void Com::printF(const char*, int)
static void printF(FSTRINGPARAM(text),int value);
^
C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Communication.h:400:13: note: static void Com::printF(const char*, int32_t)
static void printF(FSTRINGPARAM(text),int32_t value);
^
C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Communication.h:401:13: note: static void Com::printF(const char*, uint32_t)
static void printF(FSTRINGPARAM(text),uint32_t value);
^
C:\Users\OiD-W\AppData\Local\Temp\build2114105621552399953.tmp\Communication.h:402:13: note: static void Com::printF(const char*, float, uint8_t)
static void printF(FSTRINGPARAM(text),float value,uint8_t digits=2);
^
Error compiling.
It looks to me that part of the program is sending to many variables into the function. An int, int32, uint32 or a float...
This only appears when I enable the Z_probe from FW, else it works fine.
I've tried with arduino versions 1.0.5 and 1.6.0 but I get the same problem: call of overloaded printF... is ambiguous.
Any pointers as to why it fails to compile when I enable the Z_probe would be great!