|
|
|
@ -1608,17 +1608,17 @@
|
|
|
|
|
* Adds the M150 command to set the LED (or LED strip) color.
|
|
|
|
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
|
|
|
|
* luminance values can be set from 0 to 255.
|
|
|
|
|
* For Neopixel LED overall brightness parameters is also available
|
|
|
|
|
* For Neopixel LED an overall brightness parameter is also available.
|
|
|
|
|
*
|
|
|
|
|
* *** CAUTION ***
|
|
|
|
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
|
|
|
|
* as the Arduino cannot handle the current the LEDs will require.
|
|
|
|
|
* Failure to follow this precaution can destroy your Arduino!
|
|
|
|
|
* The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
|
|
|
|
|
* cannot handle such current, separate 5V power supply must be used
|
|
|
|
|
* NOTE: A separate 5V power supply is required! The Neopixel LED needs
|
|
|
|
|
* more current than the Arduino 5V linear regulator can produce.
|
|
|
|
|
* *** CAUTION ***
|
|
|
|
|
*
|
|
|
|
|
* LED type. This options are mutualy exclusive. Uncomment only one.
|
|
|
|
|
* LED Type. Enable only one of the following two options.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
//#define RGB_LED
|
|
|
|
@ -1634,11 +1634,11 @@
|
|
|
|
|
// Support for Adafruit Neopixel LED driver
|
|
|
|
|
//#define NEOPIXEL_LED
|
|
|
|
|
#if ENABLED(NEOPIXEL_LED)
|
|
|
|
|
#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
|
|
|
|
|
#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
|
|
|
|
|
#define NEOPIXEL_PIN 4 // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
|
|
|
|
|
#define NEOPIXEL_PIXELS 30 // Number of LEDs on strip
|
|
|
|
|
#define NEOPIXEL_IS_SEQUENTIAL // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
|
|
|
|
|
#define NEOPIXEL_BRIGHTNESS 127 // Initial brightness 0-255
|
|
|
|
|
#define NEOPIXEL_PIXELS 30 // Number of LEDs in the strip
|
|
|
|
|
#define NEOPIXEL_IS_SEQUENTIAL // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once.
|
|
|
|
|
#define NEOPIXEL_BRIGHTNESS 127 // Initial brightness (0-255)
|
|
|
|
|
//#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -1657,18 +1657,18 @@
|
|
|
|
|
#define PRINTER_EVENT_LEDS
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*********************************************************************\
|
|
|
|
|
* R/C SERVO support
|
|
|
|
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
/**
|
|
|
|
|
* R/C SERVO support
|
|
|
|
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
//
|
|
|
|
|
/**
|
|
|
|
|
* Number of servos
|
|
|
|
|
*
|
|
|
|
|
* For some servo-related options NUM_SERVOS will be set automatically.
|
|
|
|
|
* Set this manually if there are extra servos needing manual control.
|
|
|
|
|
* Leave undefined or set to 0 to entirely disable the servo subsystem.
|
|
|
|
|
*/
|
|
|
|
|
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
|
|
|
|
|
|
|
|
|
|
// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle.
|
|
|
|
|