I would like to control a new stepper motor shield I just bought (Shield Web page); it runs over SPI and seems pretty versatile.
Looking at the code it seems to me like it should not take much to get it to compile, but I get a lot of faults such as:
In file included from TMC26XStepper.cpp:34:0: TMC26XStepper.h:376:29: error: 'boolean' has not been declared void setCoolStepEnabled(boolean enabled); ^ TMC26XStepper.h:383:5: error: 'boolean' does not name a type boolean isCoolStepEnabled(); ^ TMC26XStepper.h:444:5: error: 'boolean' does not name a type boolean isCurrentScalingHalfed();
The only thing I did so far was basically to exclude these files in the .cpp file; I guess they should be there as part of the standard libraries anyway?
//#if defined(ARDUINO) && ARDUINO >= 100 // #include <Arduino.h> //#else // #include <WProgram.h> //#endif //#include "SPI.h"
I put the files on Github for easy access Github files.
Any pointers would be appreciated!