Welcome! Log In Create A New Profile

Advanced

RC Servo support

Posted by Hiram 
RC Servo support
March 29, 2014 05:36PM
// Number of servos
//
// If you select a configuration below, this will receive a default value and does not need to be set manually
// set it manually if you have more servos than extruders and wish to manually control some
// leaving it undefined or defining as 0 will disable the servo subsystem
// If unsure, leave commented / disabled
//
#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command

// Servo Endstops
//
// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.
// Use M206 command to correct for switch height offset to actual nozzle height. Store that setting with M500.
//
//#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
//#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 70,0} // X,Y,Z Axis Extend and Retract angles

#include "Configuration_adv.h"
#include "thermistortables.h"

#endif //__CONFIGURATION_H



Defining any NUM_SERVOS is givingt me an error-----------Servo.cpp:48:21: error: Arduino.h: No such file or directory
Re: RC Servo support
March 30, 2014 06:27AM
What version of Arduino are you using? I believe version 1.0.1, and later, provide Arduino.h.

If you are using one of those versions then it could be an installation issue but you do not mention which operating system and versions of Arduino and Marlin you are using.

Regards,
Neil Darlow

Edited 1 time(s). Last edit at 03/30/2014 06:28AM by neildarlow.


I try to write with consideration for all nationalities. Please let me know if something is unclear.
Printing with Mendel90 from fedora 25 using Cura, FreeCAD, MeshLab, OpenSCAD, Skeinforge and Slic3r tools.
Sorry, only registered users may post in this forum.

Click here to login