Browse Source

Different NEOPIXEL types

Changes to support NEOPIXEL LED strips
- Support for different NEOPIXEL as defined in Adafruit_NeoPixel.h
- ability to setup startup brightness
- ability to define sequential/non-sequential transition of color change during heating-up
- additional parameter to M150 P<brightness>
Slawomir Ciunczyk 7 years ago
parent
commit
167058b61f
39 changed files with 563 additions and 207 deletions
  1. 1
    1
      Marlin/Conditionals_LCD.h
  2. 15
    6
      Marlin/Configuration.h
  3. 51
    21
      Marlin/Marlin_main.cpp
  4. 6
    4
      Marlin/SanityCheck.h
  5. 14
    5
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h
  6. 14
    5
      Marlin/example_configurations/AliExpress/CL-260/Configuration.h
  7. 14
    5
      Marlin/example_configurations/Anet/A6/Configuration.h
  8. 14
    5
      Marlin/example_configurations/Anet/A8/Configuration.h
  9. 14
    5
      Marlin/example_configurations/BQ/Hephestos/Configuration.h
  10. 14
    5
      Marlin/example_configurations/BQ/Hephestos_2/Configuration.h
  11. 14
    5
      Marlin/example_configurations/BQ/WITBOX/Configuration.h
  12. 14
    5
      Marlin/example_configurations/Cartesio/Configuration.h
  13. 14
    5
      Marlin/example_configurations/Creality/CR-10/Configuration.h
  14. 14
    5
      Marlin/example_configurations/Felix/Configuration.h
  15. 14
    5
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  16. 14
    5
      Marlin/example_configurations/Folger Tech/i3-2020/Configuration.h
  17. 14
    5
      Marlin/example_configurations/Geeetech/GT2560/Configuration.h
  18. 14
    5
      Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h
  19. 14
    5
      Marlin/example_configurations/Infitary/i3-M508/Configuration.h
  20. 14
    5
      Marlin/example_configurations/Malyan/M150/Configuration.h
  21. 14
    5
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  22. 14
    5
      Marlin/example_configurations/RigidBot/Configuration.h
  23. 14
    5
      Marlin/example_configurations/SCARA/Configuration.h
  24. 14
    5
      Marlin/example_configurations/Sanguinololu/Configuration.h
  25. 14
    5
      Marlin/example_configurations/TinyBoy2/Configuration.h
  26. 14
    5
      Marlin/example_configurations/Velleman/K8200/Configuration.h
  27. 14
    5
      Marlin/example_configurations/Velleman/K8400/Configuration.h
  28. 14
    5
      Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h
  29. 14
    5
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  30. 14
    5
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  31. 14
    5
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  32. 14
    5
      Marlin/example_configurations/delta/generic/Configuration.h
  33. 14
    5
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  34. 14
    5
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  35. 14
    5
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  36. 14
    5
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h
  37. 14
    5
      Marlin/example_configurations/makibox/Configuration.h
  38. 14
    5
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  39. 14
    5
      Marlin/example_configurations/wt150/Configuration.h

+ 1
- 1
Marlin/Conditionals_LCD.h View File

@@ -475,6 +475,6 @@
475 475
 
476 476
   #define HAS_SOFTWARE_ENDSTOPS (ENABLED(MIN_SOFTWARE_ENDSTOPS) || ENABLED(MAX_SOFTWARE_ENDSTOPS))
477 477
   #define HAS_RESUME_CONTINUE (ENABLED(NEWPANEL) || ENABLED(EMERGENCY_PARSER))
478
-  #define HAS_COLOR_LEDS (ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632) || ENABLED(NEOPIXEL_RGBW_LED))
478
+  #define HAS_COLOR_LEDS (ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632) || ENABLED(NEOPIXEL_LED))
479 479
 
480 480
 #endif // CONDITIONALS_LCD_H

+ 15
- 6
Marlin/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**
@@ -1624,7 +1633,7 @@
1624 1633
  *  - Change to green once print has finished
1625 1634
  *  - Turn off after the print has finished and the user has pushed a button
1626 1635
  */
1627
-#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632) || ENABLED(NEOPIXEL_RGBW_LED)
1636
+#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632) || ENABLED(NEOPIXEL_LED)
1628 1637
   #define PRINTER_EVENT_LEDS
1629 1638
 #endif
1630 1639
 

+ 51
- 21
Marlin/Marlin_main.cpp View File

@@ -142,7 +142,7 @@
142 142
  * M140 - Set bed target temp. S<temp>
143 143
  * M145 - Set heatup values for materials on the LCD. H<hotend> B<bed> F<fan speed> for S<material> (0=PLA, 1=ABS)
144 144
  * M149 - Set temperature units. (Requires TEMPERATURE_UNITS_SUPPORT)
145
- * M150 - Set Status LED Color as R<red> U<green> B<blue>. Values 0-255. (Requires BLINKM, RGB_LED, RGBW_LED, or PCA9632)
145
+ * M150 - Set Status LED Color as R<red> U<green> B<blue> P<bright>. Values 0-255. (Requires BLINKM, RGB_LED, RGBW_LED, NEOPIXEL_LED, or PCA9632).
146 146
  * M155 - Auto-report temperatures with interval of S<seconds>. (Requires AUTO_REPORT_TEMPERATURES)
147 147
  * M163 - Set a single proportion for a mixing extruder. (Requires MIXING_EXTRUDER)
148 148
  * M164 - Save the mix as a virtual extruder. (Requires MIXING_EXTRUDER and MIXING_VIRTUAL_TOOLS)
@@ -283,7 +283,7 @@
283 283
   #include "Max7219_Debug_LEDs.h"
284 284
 #endif
285 285
 
286
-#if ENABLED(NEOPIXEL_RGBW_LED)
286
+#if ENABLED(NEOPIXEL_LED)
287 287
   #include <Adafruit_NeoPixel.h>
288 288
 #endif
289 289
 
@@ -349,6 +349,20 @@
349 349
                            || isnan(ubl.z_values[0][0]))
350 350
 #endif
351 351
 
352
+#if ENABLED(NEOPIXEL_LED) 
353
+  #if NEOPIXEL_TYPE == NEO_RGB || NEOPIXEL_TYPE == NEO_RBG || NEOPIXEL_TYPE == NEO_GRB || NEOPIXEL_TYPE == NEO_GBR || NEOPIXEL_TYPE == NEO_BRG || NEOPIXEL_TYPE == NEO_BGR
354
+    #define NEO_WHITE 255, 255, 255
355
+  #else
356
+    #define NEO_WHITE 0, 0, 0, 255
357
+  #endif
358
+#endif
359
+
360
+#if ENABLED(RGB_LED) || ENABLED(BLINKM) || ENABLED(PCA9632)
361
+  #define LED_WHITE 255, 255, 255
362
+#elif ENABLED(RGBW_LED)
363
+  #define LED_WHITE 0, 0, 0, 255
364
+#endif
365
+
352 366
 bool Running = true;
353 367
 
354 368
 uint8_t marlin_debug_flags = DEBUG_NONE;
@@ -978,9 +992,9 @@ void servo_init() {
978 992
 
979 993
 #if HAS_COLOR_LEDS
980 994
 
981
-  #if ENABLED(NEOPIXEL_RGBW_LED)
995
+  #if ENABLED(NEOPIXEL_LED)
982 996
 
983
-    Adafruit_NeoPixel pixels(NEOPIXEL_PIXELS, NEOPIXEL_PIN, NEO_GRBW + NEO_KHZ800);
997
+    Adafruit_NeoPixel pixels(NEOPIXEL_PIXELS, NEOPIXEL_PIN, NEOPIXEL_TYPE + NEO_KHZ800);
984 998
 
985 999
     void set_neopixel_color(const uint32_t color) {
986 1000
       for (uint16_t i = 0; i < pixels.numPixels(); ++i)
@@ -989,7 +1003,7 @@ void servo_init() {
989 1003
     }
990 1004
 
991 1005
     void setup_neopixel() {
992
-      pixels.setBrightness(255); // 0 - 255 range
1006
+      pixels.setBrightness(NEOPIXEL_BRIGHTNESS); // 0 - 255 range
993 1007
       pixels.begin();
994 1008
       pixels.show(); // initialize to all off
995 1009
 
@@ -1002,26 +1016,28 @@ void servo_init() {
1002 1016
         set_neopixel_color(pixels.Color(0, 0, 255, 0));  // blue
1003 1017
         delay(2000);
1004 1018
       #endif
1005
-      set_neopixel_color(pixels.Color(0, 0, 0, 255));    // white
1019
+      set_neopixel_color(pixels.Color(NEO_WHITE));       // white
1006 1020
     }
1007 1021
 
1008
-  #endif // NEOPIXEL_RGBW_LED
1022
+  #endif // NEOPIXEL_LED
1009 1023
 
1010 1024
   void set_led_color(
1011 1025
     const uint8_t r, const uint8_t g, const uint8_t b
1012
-      #if ENABLED(RGBW_LED) || ENABLED(NEOPIXEL_RGBW_LED)
1026
+      #if ENABLED(RGBW_LED) || ENABLED(NEOPIXEL_LED)
1013 1027
         , const uint8_t w = 0
1014
-        #if ENABLED(NEOPIXEL_RGBW_LED)
1028
+        #if ENABLED(NEOPIXEL_LED)
1029
+          , const uint8_t p = NEOPIXEL_BRIGHTNESS
1015 1030
           , bool isSequence = false
1016 1031
         #endif
1017 1032
       #endif
1018 1033
   ) {
1019 1034
 
1020
-    #if ENABLED(NEOPIXEL_RGBW_LED)
1035
+    #if ENABLED(NEOPIXEL_LED)
1021 1036
 
1022 1037
       const uint32_t color = pixels.Color(r, g, b, w);
1023 1038
       static uint16_t nextLed = 0;
1024 1039
 
1040
+      pixels.setBrightness(p);
1025 1041
       if (!isSequence)
1026 1042
         set_neopixel_color(color);
1027 1043
       else {
@@ -7590,9 +7606,13 @@ inline void gcode_M109() {
7590 7606
         if (blue != old_blue) {
7591 7607
           old_blue = blue;
7592 7608
           set_led_color(255, 0, blue
7593
-            #if ENABLED(NEOPIXEL_RGBW_LED)
7594
-              , 0, true
7609
+          #if ENABLED(NEOPIXEL_LED)
7610
+            , 0
7611
+            , pixels.getBrightness()
7612
+            #if ENABLED(NEOPIXEL_IS_SEQUENTIAL)
7613
+              , true
7595 7614
             #endif
7615
+          #endif
7596 7616
           );
7597 7617
         }
7598 7618
       }
@@ -7629,10 +7649,11 @@ inline void gcode_M109() {
7629 7649
   if (wait_for_heatup) {
7630 7650
     LCD_MESSAGEPGM(MSG_HEATING_COMPLETE);
7631 7651
     #if ENABLED(PRINTER_EVENT_LEDS)
7632
-      #if ENABLED(RGBW_LED) || ENABLED(NEOPIXEL_RGBW_LED)
7633
-        set_led_color(0, 0, 0, 255);  // Turn on the WHITE LED
7634
-      #else
7635
-        set_led_color(255, 255, 255); // Set LEDs All On
7652
+      #if ENABLED(RGB_LED) || ENABLED(BLINKM) || ENABLED(PCA9632) || ENABLED(RGBW_LED)
7653
+        set_led_color(LED_WHITE);
7654
+      #endif
7655
+      #if ENABLED(NEOPIXEL_LED)
7656
+        set_neopixel_color(pixels.Color(NEO_WHITE));
7636 7657
       #endif
7637 7658
     #endif
7638 7659
   }
@@ -7730,8 +7751,11 @@ inline void gcode_M109() {
7730 7751
           if (red != old_red) {
7731 7752
             old_red = red;
7732 7753
             set_led_color(red, 0, 255
7733
-              #if ENABLED(NEOPIXEL_RGBW_LED)
7734
-                , 0, true
7754
+              #if ENABLED(NEOPIXEL_LED)
7755
+                , 0, pixels.getBrightness()
7756
+                #if ENABLED(NEOPIXEL_IS_SEQUENTIAL)
7757
+                  , true
7758
+                #endif
7735 7759
               #endif
7736 7760
             );
7737 7761
           }
@@ -8378,8 +8402,10 @@ inline void gcode_M121() { endstops.enable_globally(false); }
8378 8402
 
8379 8403
   /**
8380 8404
    * M150: Set Status LED Color - Use R-U-B-W for R-G-B-W
8405
+   *       and Brightness       - Use P (for NEOPIXEL only)
8381 8406
    *
8382 8407
    * Always sets all 3 or 4 components. If a component is left out, set to 0.
8408
+   *                                    If brightness is left out, no value changed
8383 8409
    *
8384 8410
    * Examples:
8385 8411
    *
@@ -8388,15 +8414,19 @@ inline void gcode_M121() { endstops.enable_globally(false); }
8388 8414
    *   M150            ; Turn LED off
8389 8415
    *   M150 R U B      ; Turn LED white
8390 8416
    *   M150 W          ; Turn LED white using a white LED
8391
-   *
8417
+   *   M150 P127       ; Set LED 50% brightness
8418
+   *   M150 P          ; Set LED full brightness
8392 8419
    */
8393 8420
   inline void gcode_M150() {
8394 8421
     set_led_color(
8395 8422
       parser.seen('R') ? (parser.has_value() ? parser.value_byte() : 255) : 0,
8396 8423
       parser.seen('U') ? (parser.has_value() ? parser.value_byte() : 255) : 0,
8397 8424
       parser.seen('B') ? (parser.has_value() ? parser.value_byte() : 255) : 0
8398
-      #if ENABLED(RGBW_LED) || ENABLED(NEOPIXEL_RGBW_LED)
8425
+      #if ENABLED(RGBW_LED) || ENABLED(NEOPIXEL_LED)
8399 8426
         , parser.seen('W') ? (parser.has_value() ? parser.value_byte() : 255) : 0
8427
+        #if ENABLED(NEOPIXEL_LED)
8428
+          , parser.seen('P') ? (parser.has_value() ? parser.value_byte() : 255) : pixels.getBrightness()
8429
+        #endif
8400 8430
       #endif
8401 8431
     );
8402 8432
   }
@@ -13492,7 +13522,7 @@ void setup() {
13492 13522
     OUT_WRITE(STAT_LED_BLUE_PIN, LOW); // turn it off
13493 13523
   #endif
13494 13524
 
13495
-  #if ENABLED(NEOPIXEL_RGBW_LED)
13525
+  #if ENABLED(NEOPIXEL_LED)
13496 13526
     SET_OUTPUT(NEOPIXEL_PIN);
13497 13527
     setup_neopixel();
13498 13528
   #endif

+ 6
- 4
Marlin/SanityCheck.h View File

@@ -210,6 +210,8 @@
210 210
   #error "MIN_RETRACT is now MIN_AUTORETRACT and MAX_AUTORETRACT. Please update your Configuration_adv.h."
211 211
 #elif defined(ADVANCE)
212 212
   #error "ADVANCE was removed in Marlin 1.1.6. Please use LIN_ADVANCE."
213
+#elif defined(NEOPIXEL_RGBW_LED)
214
+  #error "NEOPIXEL_RGBW_LED is now NEOPIXEL_LED. Please update your configuration."
213 215
 #endif
214 216
 
215 217
 /**
@@ -1099,12 +1101,12 @@ static_assert(1 >= 0
1099 1101
   #if !(_RGB_TEST && PIN_EXISTS(RGB_LED_W))
1100 1102
     #error "RGBW_LED requires RGB_LED_R_PIN, RGB_LED_G_PIN, RGB_LED_B_PIN, and RGB_LED_W_PIN."
1101 1103
   #endif
1102
-#elif ENABLED(NEOPIXEL_RGBW_LED)
1104
+#elif ENABLED(NEOPIXEL_LED)
1103 1105
   #if !(PIN_EXISTS(NEOPIXEL) && NEOPIXEL_PIXELS > 0)
1104
-    #error "NEOPIXEL_RGBW_LED requires NEOPIXEL_PIN and NEOPIXEL_PIXELS."
1106
+    #error "NEOPIXEL_LED requires NEOPIXEL_PIN and NEOPIXEL_PIXELS."
1105 1107
   #endif
1106
-#elif ENABLED(PRINTER_EVENT_LEDS) && DISABLED(BLINKM) && DISABLED(PCA9632) && DISABLED(NEOPIXEL_RGBW_LED)
1107
-  #error "PRINTER_EVENT_LEDS requires BLINKM, PCA9632, RGB_LED, RGBW_LED or NEOPIXEL_RGBW_LED."
1108
+#elif ENABLED(PRINTER_EVENT_LEDS) && DISABLED(BLINKM) && DISABLED(PCA9632) && DISABLED(NEOPIXEL_LED)
1109
+  #error "PRINTER_EVENT_LEDS requires BLINKM, PCA9632, RGB_LED, RGBW_LED or NEOPIXEL_LED."
1108 1110
 #endif
1109 1111
 
1110 1112
 /**

+ 14
- 5
Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h View File

@@ -1608,16 +1608,22 @@
1608 1608
  * Adds the M150 command to set the LED (or LED strip) color.
1609 1609
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1610 1610
  * luminance values can be set from 0 to 255.
1611
+ * For Neopixel LED overall brightness parameters is also available 
1611 1612
  *
1612 1613
  * *** CAUTION ***
1613 1614
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1614 1615
  *  as the Arduino cannot handle the current the LEDs will require.
1615 1616
  *  Failure to follow this precaution can destroy your Arduino!
1617
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1618
+ *  cannot handle such current, separate 5V power supply must be used
1616 1619
  * *** CAUTION ***
1617 1620
  *
1621
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1622
+ *
1618 1623
  */
1619 1624
 //#define RGB_LED
1620 1625
 //#define RGBW_LED
1626
+
1621 1627
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1622 1628
   #define RGB_LED_R_PIN 34
1623 1629
   #define RGB_LED_G_PIN 43
@@ -1626,11 +1632,14 @@
1626 1632
 #endif
1627 1633
 
1628 1634
 // Support for Adafruit Neopixel LED driver
1629
-//#define NEOPIXEL_RGBW_LED
1630
-#if ENABLED(NEOPIXEL_RGBW_LED)
1631
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1632
-  #define NEOPIXEL_PIXELS 3
1633
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1635
+//#define NEOPIXEL_LED
1636
+#if ENABLED(NEOPIXEL_LED)
1637
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1638
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1639
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1640
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1641
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1642
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1634 1643
 #endif
1635 1644
 
1636 1645
 /**

+ 14
- 5
Marlin/example_configurations/AliExpress/CL-260/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**

+ 14
- 5
Marlin/example_configurations/Anet/A6/Configuration.h View File

@@ -1747,16 +1747,22 @@
1747 1747
  * Adds the M150 command to set the LED (or LED strip) color.
1748 1748
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1749 1749
  * luminance values can be set from 0 to 255.
1750
+ * For Neopixel LED overall brightness parameters is also available 
1750 1751
  *
1751 1752
  * *** CAUTION ***
1752 1753
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1753 1754
  *  as the Arduino cannot handle the current the LEDs will require.
1754 1755
  *  Failure to follow this precaution can destroy your Arduino!
1756
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1757
+ *  cannot handle such current, separate 5V power supply must be used
1755 1758
  * *** CAUTION ***
1756 1759
  *
1760
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1761
+ *
1757 1762
  */
1758 1763
 //#define RGB_LED
1759 1764
 //#define RGBW_LED
1765
+
1760 1766
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1761 1767
   #define RGB_LED_R_PIN 34
1762 1768
   #define RGB_LED_G_PIN 43
@@ -1765,11 +1771,14 @@
1765 1771
 #endif
1766 1772
 
1767 1773
 // Support for Adafruit Neopixel LED driver
1768
-//#define NEOPIXEL_RGBW_LED
1769
-#if ENABLED(NEOPIXEL_RGBW_LED)
1770
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1771
-  #define NEOPIXEL_PIXELS 3
1772
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1774
+//#define NEOPIXEL_LED
1775
+#if ENABLED(NEOPIXEL_LED)
1776
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1777
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1778
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1779
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1780
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1781
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1773 1782
 #endif
1774 1783
 
1775 1784
 /**

+ 14
- 5
Marlin/example_configurations/Anet/A8/Configuration.h View File

@@ -1596,16 +1596,22 @@
1596 1596
  * Adds the M150 command to set the LED (or LED strip) color.
1597 1597
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1598 1598
  * luminance values can be set from 0 to 255.
1599
+ * For Neopixel LED overall brightness parameters is also available 
1599 1600
  *
1600 1601
  * *** CAUTION ***
1601 1602
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1602 1603
  *  as the Arduino cannot handle the current the LEDs will require.
1603 1604
  *  Failure to follow this precaution can destroy your Arduino!
1605
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1606
+ *  cannot handle such current, separate 5V power supply must be used
1604 1607
  * *** CAUTION ***
1605 1608
  *
1609
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1610
+ *
1606 1611
  */
1607 1612
 //#define RGB_LED
1608 1613
 //#define RGBW_LED
1614
+
1609 1615
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1610 1616
   #define RGB_LED_R_PIN 34
1611 1617
   #define RGB_LED_G_PIN 43
@@ -1614,11 +1620,14 @@
1614 1620
 #endif
1615 1621
 
1616 1622
 // Support for Adafruit Neopixel LED driver
1617
-//#define NEOPIXEL_RGBW_LED
1618
-#if ENABLED(NEOPIXEL_RGBW_LED)
1619
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1620
-  #define NEOPIXEL_PIXELS 3
1621
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1623
+//#define NEOPIXEL_LED
1624
+#if ENABLED(NEOPIXEL_LED)
1625
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1626
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1627
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1628
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1629
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1630
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1622 1631
 #endif
1623 1632
 
1624 1633
 /**

+ 14
- 5
Marlin/example_configurations/BQ/Hephestos/Configuration.h View File

@@ -1579,16 +1579,22 @@
1579 1579
  * Adds the M150 command to set the LED (or LED strip) color.
1580 1580
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1581 1581
  * luminance values can be set from 0 to 255.
1582
+ * For Neopixel LED overall brightness parameters is also available 
1582 1583
  *
1583 1584
  * *** CAUTION ***
1584 1585
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1585 1586
  *  as the Arduino cannot handle the current the LEDs will require.
1586 1587
  *  Failure to follow this precaution can destroy your Arduino!
1588
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1589
+ *  cannot handle such current, separate 5V power supply must be used
1587 1590
  * *** CAUTION ***
1588 1591
  *
1592
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1593
+ *
1589 1594
  */
1590 1595
 //#define RGB_LED
1591 1596
 //#define RGBW_LED
1597
+
1592 1598
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1593 1599
   #define RGB_LED_R_PIN 34
1594 1600
   #define RGB_LED_G_PIN 43
@@ -1597,11 +1603,14 @@
1597 1603
 #endif
1598 1604
 
1599 1605
 // Support for Adafruit Neopixel LED driver
1600
-//#define NEOPIXEL_RGBW_LED
1601
-#if ENABLED(NEOPIXEL_RGBW_LED)
1602
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1603
-  #define NEOPIXEL_PIXELS 3
1604
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1606
+//#define NEOPIXEL_LED
1607
+#if ENABLED(NEOPIXEL_LED)
1608
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1609
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1610
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1611
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1612
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1613
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1605 1614
 #endif
1606 1615
 
1607 1616
 /**

+ 14
- 5
Marlin/example_configurations/BQ/Hephestos_2/Configuration.h View File

@@ -1589,16 +1589,22 @@
1589 1589
  * Adds the M150 command to set the LED (or LED strip) color.
1590 1590
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1591 1591
  * luminance values can be set from 0 to 255.
1592
+ * For Neopixel LED overall brightness parameters is also available 
1592 1593
  *
1593 1594
  * *** CAUTION ***
1594 1595
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1595 1596
  *  as the Arduino cannot handle the current the LEDs will require.
1596 1597
  *  Failure to follow this precaution can destroy your Arduino!
1598
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1599
+ *  cannot handle such current, separate 5V power supply must be used
1597 1600
  * *** CAUTION ***
1598 1601
  *
1602
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1603
+ *
1599 1604
  */
1600 1605
 //#define RGB_LED
1601 1606
 //#define RGBW_LED
1607
+
1602 1608
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1603 1609
   #define RGB_LED_R_PIN 34
1604 1610
   #define RGB_LED_G_PIN 43
@@ -1607,11 +1613,14 @@
1607 1613
 #endif
1608 1614
 
1609 1615
 // Support for Adafruit Neopixel LED driver
1610
-//#define NEOPIXEL_RGBW_LED
1611
-#if ENABLED(NEOPIXEL_RGBW_LED)
1612
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1613
-  #define NEOPIXEL_PIXELS 3
1614
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1616
+//#define NEOPIXEL_LED
1617
+#if ENABLED(NEOPIXEL_LED)
1618
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1619
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1620
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1621
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1622
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1623
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1615 1624
 #endif
1616 1625
 
1617 1626
 /**

+ 14
- 5
Marlin/example_configurations/BQ/WITBOX/Configuration.h View File

@@ -1579,16 +1579,22 @@
1579 1579
  * Adds the M150 command to set the LED (or LED strip) color.
1580 1580
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1581 1581
  * luminance values can be set from 0 to 255.
1582
+ * For Neopixel LED overall brightness parameters is also available 
1582 1583
  *
1583 1584
  * *** CAUTION ***
1584 1585
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1585 1586
  *  as the Arduino cannot handle the current the LEDs will require.
1586 1587
  *  Failure to follow this precaution can destroy your Arduino!
1588
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1589
+ *  cannot handle such current, separate 5V power supply must be used
1587 1590
  * *** CAUTION ***
1588 1591
  *
1592
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1593
+ *
1589 1594
  */
1590 1595
 //#define RGB_LED
1591 1596
 //#define RGBW_LED
1597
+
1592 1598
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1593 1599
   #define RGB_LED_R_PIN 34
1594 1600
   #define RGB_LED_G_PIN 43
@@ -1597,11 +1603,14 @@
1597 1603
 #endif
1598 1604
 
1599 1605
 // Support for Adafruit Neopixel LED driver
1600
-//#define NEOPIXEL_RGBW_LED
1601
-#if ENABLED(NEOPIXEL_RGBW_LED)
1602
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1603
-  #define NEOPIXEL_PIXELS 3
1604
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1606
+//#define NEOPIXEL_LED
1607
+#if ENABLED(NEOPIXEL_LED)
1608
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1609
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1610
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1611
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1612
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1613
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1605 1614
 #endif
1606 1615
 
1607 1616
 /**

+ 14
- 5
Marlin/example_configurations/Cartesio/Configuration.h View File

@@ -1587,16 +1587,22 @@
1587 1587
  * Adds the M150 command to set the LED (or LED strip) color.
1588 1588
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1589 1589
  * luminance values can be set from 0 to 255.
1590
+ * For Neopixel LED overall brightness parameters is also available 
1590 1591
  *
1591 1592
  * *** CAUTION ***
1592 1593
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1593 1594
  *  as the Arduino cannot handle the current the LEDs will require.
1594 1595
  *  Failure to follow this precaution can destroy your Arduino!
1596
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1597
+ *  cannot handle such current, separate 5V power supply must be used
1595 1598
  * *** CAUTION ***
1596 1599
  *
1600
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1601
+ *
1597 1602
  */
1598 1603
 //#define RGB_LED
1599 1604
 //#define RGBW_LED
1605
+
1600 1606
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1601 1607
   #define RGB_LED_R_PIN 34
1602 1608
   #define RGB_LED_G_PIN 43
@@ -1605,11 +1611,14 @@
1605 1611
 #endif
1606 1612
 
1607 1613
 // Support for Adafruit Neopixel LED driver
1608
-//#define NEOPIXEL_RGBW_LED
1609
-#if ENABLED(NEOPIXEL_RGBW_LED)
1610
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1611
-  #define NEOPIXEL_PIXELS 3
1612
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1614
+//#define NEOPIXEL_LED
1615
+#if ENABLED(NEOPIXEL_LED)
1616
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1617
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1618
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1619
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1620
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1621
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1613 1622
 #endif
1614 1623
 
1615 1624
 /**

+ 14
- 5
Marlin/example_configurations/Creality/CR-10/Configuration.h View File

@@ -1598,16 +1598,22 @@
1598 1598
  * Adds the M150 command to set the LED (or LED strip) color.
1599 1599
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1600 1600
  * luminance values can be set from 0 to 255.
1601
+ * For Neopixel LED overall brightness parameters is also available 
1601 1602
  *
1602 1603
  * *** CAUTION ***
1603 1604
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1604 1605
  *  as the Arduino cannot handle the current the LEDs will require.
1605 1606
  *  Failure to follow this precaution can destroy your Arduino!
1607
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1608
+ *  cannot handle such current, separate 5V power supply must be used
1606 1609
  * *** CAUTION ***
1607 1610
  *
1611
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1612
+ *
1608 1613
  */
1609 1614
 //#define RGB_LED
1610 1615
 //#define RGBW_LED
1616
+
1611 1617
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1612 1618
   #define RGB_LED_R_PIN 34
1613 1619
   #define RGB_LED_G_PIN 43
@@ -1616,11 +1622,14 @@
1616 1622
 #endif
1617 1623
 
1618 1624
 // Support for Adafruit Neopixel LED driver
1619
-//#define NEOPIXEL_RGBW_LED
1620
-#if ENABLED(NEOPIXEL_RGBW_LED)
1621
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1622
-  #define NEOPIXEL_PIXELS 3
1623
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1625
+//#define NEOPIXEL_LED
1626
+#if ENABLED(NEOPIXEL_LED)
1627
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1628
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1629
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1630
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1631
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1632
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1624 1633
 #endif
1625 1634
 
1626 1635
 /**

+ 14
- 5
Marlin/example_configurations/Felix/Configuration.h View File

@@ -1570,16 +1570,22 @@
1570 1570
  * Adds the M150 command to set the LED (or LED strip) color.
1571 1571
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1572 1572
  * luminance values can be set from 0 to 255.
1573
+ * For Neopixel LED overall brightness parameters is also available 
1573 1574
  *
1574 1575
  * *** CAUTION ***
1575 1576
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1576 1577
  *  as the Arduino cannot handle the current the LEDs will require.
1577 1578
  *  Failure to follow this precaution can destroy your Arduino!
1579
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1580
+ *  cannot handle such current, separate 5V power supply must be used
1578 1581
  * *** CAUTION ***
1579 1582
  *
1583
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1584
+ *
1580 1585
  */
1581 1586
 //#define RGB_LED
1582 1587
 //#define RGBW_LED
1588
+
1583 1589
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1584 1590
   #define RGB_LED_R_PIN 34
1585 1591
   #define RGB_LED_G_PIN 43
@@ -1588,11 +1594,14 @@
1588 1594
 #endif
1589 1595
 
1590 1596
 // Support for Adafruit Neopixel LED driver
1591
-//#define NEOPIXEL_RGBW_LED
1592
-#if ENABLED(NEOPIXEL_RGBW_LED)
1593
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1594
-  #define NEOPIXEL_PIXELS 3
1595
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1597
+//#define NEOPIXEL_LED
1598
+#if ENABLED(NEOPIXEL_LED)
1599
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1600
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1601
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1602
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1603
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1604
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1596 1605
 #endif
1597 1606
 
1598 1607
 /**

+ 14
- 5
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

@@ -1570,16 +1570,22 @@
1570 1570
  * Adds the M150 command to set the LED (or LED strip) color.
1571 1571
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1572 1572
  * luminance values can be set from 0 to 255.
1573
+ * For Neopixel LED overall brightness parameters is also available 
1573 1574
  *
1574 1575
  * *** CAUTION ***
1575 1576
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1576 1577
  *  as the Arduino cannot handle the current the LEDs will require.
1577 1578
  *  Failure to follow this precaution can destroy your Arduino!
1579
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1580
+ *  cannot handle such current, separate 5V power supply must be used
1578 1581
  * *** CAUTION ***
1579 1582
  *
1583
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1584
+ *
1580 1585
  */
1581 1586
 //#define RGB_LED
1582 1587
 //#define RGBW_LED
1588
+
1583 1589
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1584 1590
   #define RGB_LED_R_PIN 34
1585 1591
   #define RGB_LED_G_PIN 43
@@ -1588,11 +1594,14 @@
1588 1594
 #endif
1589 1595
 
1590 1596
 // Support for Adafruit Neopixel LED driver
1591
-//#define NEOPIXEL_RGBW_LED
1592
-#if ENABLED(NEOPIXEL_RGBW_LED)
1593
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1594
-  #define NEOPIXEL_PIXELS 3
1595
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1597
+//#define NEOPIXEL_LED
1598
+#if ENABLED(NEOPIXEL_LED)
1599
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1600
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1601
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1602
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1603
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1604
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1596 1605
 #endif
1597 1606
 
1598 1607
 /**

+ 14
- 5
Marlin/example_configurations/Folger Tech/i3-2020/Configuration.h View File

@@ -1593,16 +1593,22 @@
1593 1593
  * Adds the M150 command to set the LED (or LED strip) color.
1594 1594
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1595 1595
  * luminance values can be set from 0 to 255.
1596
+ * For Neopixel LED overall brightness parameters is also available 
1596 1597
  *
1597 1598
  * *** CAUTION ***
1598 1599
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1599 1600
  *  as the Arduino cannot handle the current the LEDs will require.
1600 1601
  *  Failure to follow this precaution can destroy your Arduino!
1602
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1603
+ *  cannot handle such current, separate 5V power supply must be used
1601 1604
  * *** CAUTION ***
1602 1605
  *
1606
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1607
+ *
1603 1608
  */
1604 1609
 //#define RGB_LED
1605 1610
 //#define RGBW_LED
1611
+
1606 1612
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1607 1613
   #define RGB_LED_R_PIN 34
1608 1614
   #define RGB_LED_G_PIN 43
@@ -1611,11 +1617,14 @@
1611 1617
 #endif
1612 1618
 
1613 1619
 // Support for Adafruit Neopixel LED driver
1614
-//#define NEOPIXEL_RGBW_LED
1615
-#if ENABLED(NEOPIXEL_RGBW_LED)
1616
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1617
-  #define NEOPIXEL_PIXELS 3
1618
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1620
+//#define NEOPIXEL_LED
1621
+#if ENABLED(NEOPIXEL_LED)
1622
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1623
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1624
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1625
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1626
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1627
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1619 1628
 #endif
1620 1629
 
1621 1630
 /**

+ 14
- 5
Marlin/example_configurations/Geeetech/GT2560/Configuration.h View File

@@ -1603,16 +1603,22 @@
1603 1603
  * Adds the M150 command to set the LED (or LED strip) color.
1604 1604
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1605 1605
  * luminance values can be set from 0 to 255.
1606
+ * For Neopixel LED overall brightness parameters is also available 
1606 1607
  *
1607 1608
  * *** CAUTION ***
1608 1609
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1609 1610
  *  as the Arduino cannot handle the current the LEDs will require.
1610 1611
  *  Failure to follow this precaution can destroy your Arduino!
1612
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1613
+ *  cannot handle such current, separate 5V power supply must be used
1611 1614
  * *** CAUTION ***
1612 1615
  *
1616
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1617
+ *
1613 1618
  */
1614 1619
 //#define RGB_LED
1615 1620
 //#define RGBW_LED
1621
+
1616 1622
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1617 1623
   #define RGB_LED_R_PIN 34
1618 1624
   #define RGB_LED_G_PIN 43
@@ -1621,11 +1627,14 @@
1621 1627
 #endif
1622 1628
 
1623 1629
 // Support for Adafruit Neopixel LED driver
1624
-//#define NEOPIXEL_RGBW_LED
1625
-#if ENABLED(NEOPIXEL_RGBW_LED)
1626
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1627
-  #define NEOPIXEL_PIXELS 3
1628
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1630
+//#define NEOPIXEL_LED
1631
+#if ENABLED(NEOPIXEL_LED)
1632
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1633
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1634
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1635
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1636
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1637
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1629 1638
 #endif
1630 1639
 
1631 1640
 /**

+ 14
- 5
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**

+ 14
- 5
Marlin/example_configurations/Infitary/i3-M508/Configuration.h View File

@@ -1592,16 +1592,22 @@
1592 1592
  * Adds the M150 command to set the LED (or LED strip) color.
1593 1593
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1594 1594
  * luminance values can be set from 0 to 255.
1595
+ * For Neopixel LED overall brightness parameters is also available 
1595 1596
  *
1596 1597
  * *** CAUTION ***
1597 1598
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1598 1599
  *  as the Arduino cannot handle the current the LEDs will require.
1599 1600
  *  Failure to follow this precaution can destroy your Arduino!
1601
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1602
+ *  cannot handle such current, separate 5V power supply must be used
1600 1603
  * *** CAUTION ***
1601 1604
  *
1605
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1606
+ *
1602 1607
  */
1603 1608
 //#define RGB_LED
1604 1609
 //#define RGBW_LED
1610
+
1605 1611
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1606 1612
   #define RGB_LED_R_PIN 34
1607 1613
   #define RGB_LED_G_PIN 43
@@ -1610,11 +1616,14 @@
1610 1616
 #endif
1611 1617
 
1612 1618
 // Support for Adafruit Neopixel LED driver
1613
-//#define NEOPIXEL_RGBW_LED
1614
-#if ENABLED(NEOPIXEL_RGBW_LED)
1615
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1616
-  #define NEOPIXEL_PIXELS 3
1617
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1619
+//#define NEOPIXEL_LED
1620
+#if ENABLED(NEOPIXEL_LED)
1621
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1622
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1623
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1624
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1625
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1626
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1618 1627
 #endif
1619 1628
 
1620 1629
 /**

+ 14
- 5
Marlin/example_configurations/Malyan/M150/Configuration.h View File

@@ -1616,16 +1616,22 @@
1616 1616
  * Adds the M150 command to set the LED (or LED strip) color.
1617 1617
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1618 1618
  * luminance values can be set from 0 to 255.
1619
+ * For Neopixel LED overall brightness parameters is also available 
1619 1620
  *
1620 1621
  * *** CAUTION ***
1621 1622
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1622 1623
  *  as the Arduino cannot handle the current the LEDs will require.
1623 1624
  *  Failure to follow this precaution can destroy your Arduino!
1625
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1626
+ *  cannot handle such current, separate 5V power supply must be used
1624 1627
  * *** CAUTION ***
1625 1628
  *
1629
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1630
+ *
1626 1631
  */
1627 1632
 //#define RGB_LED
1628 1633
 //#define RGBW_LED
1634
+
1629 1635
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1630 1636
   #define RGB_LED_R_PIN 34
1631 1637
   #define RGB_LED_G_PIN 43
@@ -1634,11 +1640,14 @@
1634 1640
 #endif
1635 1641
 
1636 1642
 // Support for Adafruit Neopixel LED driver
1637
-//#define NEOPIXEL_RGBW_LED
1638
-#if ENABLED(NEOPIXEL_RGBW_LED)
1639
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1640
-  #define NEOPIXEL_PIXELS 3
1641
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1643
+//#define NEOPIXEL_LED
1644
+#if ENABLED(NEOPIXEL_LED)
1645
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1646
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1647
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1648
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1649
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1650
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1642 1651
 #endif
1643 1652
 
1644 1653
 /**

+ 14
- 5
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**

+ 14
- 5
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**

+ 14
- 5
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -1600,16 +1600,22 @@
1600 1600
  * Adds the M150 command to set the LED (or LED strip) color.
1601 1601
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1602 1602
  * luminance values can be set from 0 to 255.
1603
+ * For Neopixel LED overall brightness parameters is also available 
1603 1604
  *
1604 1605
  * *** CAUTION ***
1605 1606
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1606 1607
  *  as the Arduino cannot handle the current the LEDs will require.
1607 1608
  *  Failure to follow this precaution can destroy your Arduino!
1609
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1610
+ *  cannot handle such current, separate 5V power supply must be used
1608 1611
  * *** CAUTION ***
1609 1612
  *
1613
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1614
+ *
1610 1615
  */
1611 1616
 //#define RGB_LED
1612 1617
 //#define RGBW_LED
1618
+
1613 1619
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1614 1620
   #define RGB_LED_R_PIN 34
1615 1621
   #define RGB_LED_G_PIN 43
@@ -1618,11 +1624,14 @@
1618 1624
 #endif
1619 1625
 
1620 1626
 // Support for Adafruit Neopixel LED driver
1621
-//#define NEOPIXEL_RGBW_LED
1622
-#if ENABLED(NEOPIXEL_RGBW_LED)
1623
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1624
-  #define NEOPIXEL_PIXELS 3
1625
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1627
+//#define NEOPIXEL_LED
1628
+#if ENABLED(NEOPIXEL_LED)
1629
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1630
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1631
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1632
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1633
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1634
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1626 1635
 #endif
1627 1636
 
1628 1637
 /**

+ 14
- 5
Marlin/example_configurations/Sanguinololu/Configuration.h View File

@@ -1619,16 +1619,22 @@
1619 1619
  * Adds the M150 command to set the LED (or LED strip) color.
1620 1620
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1621 1621
  * luminance values can be set from 0 to 255.
1622
+ * For Neopixel LED overall brightness parameters is also available 
1622 1623
  *
1623 1624
  * *** CAUTION ***
1624 1625
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1625 1626
  *  as the Arduino cannot handle the current the LEDs will require.
1626 1627
  *  Failure to follow this precaution can destroy your Arduino!
1628
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1629
+ *  cannot handle such current, separate 5V power supply must be used
1627 1630
  * *** CAUTION ***
1628 1631
  *
1632
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1633
+ *
1629 1634
  */
1630 1635
 #define RGB_LED
1631 1636
 //#define RGBW_LED
1637
+
1632 1638
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1633 1639
   #define RGB_LED_R_PIN 11
1634 1640
   #define RGB_LED_G_PIN 10
@@ -1637,11 +1643,14 @@
1637 1643
 #endif
1638 1644
 
1639 1645
 // Support for Adafruit Neopixel LED driver
1640
-//#define NEOPIXEL_RGBW_LED
1641
-#if ENABLED(NEOPIXEL_RGBW_LED)
1642
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1643
-  #define NEOPIXEL_PIXELS 3
1644
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1646
+//#define NEOPIXEL_LED
1647
+#if ENABLED(NEOPIXEL_LED)
1648
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1649
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1650
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1651
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1652
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1653
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1645 1654
 #endif
1646 1655
 
1647 1656
 /**

+ 14
- 5
Marlin/example_configurations/TinyBoy2/Configuration.h View File

@@ -1644,16 +1644,22 @@
1644 1644
  * Adds the M150 command to set the LED (or LED strip) color.
1645 1645
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1646 1646
  * luminance values can be set from 0 to 255.
1647
+ * For Neopixel LED overall brightness parameters is also available 
1647 1648
  *
1648 1649
  * *** CAUTION ***
1649 1650
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1650 1651
  *  as the Arduino cannot handle the current the LEDs will require.
1651 1652
  *  Failure to follow this precaution can destroy your Arduino!
1653
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1654
+ *  cannot handle such current, separate 5V power supply must be used
1652 1655
  * *** CAUTION ***
1653 1656
  *
1657
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1658
+ *
1654 1659
  */
1655 1660
 //#define RGB_LED
1656 1661
 //#define RGBW_LED
1662
+
1657 1663
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1658 1664
   #define RGB_LED_R_PIN 34
1659 1665
   #define RGB_LED_G_PIN 43
@@ -1662,11 +1668,14 @@
1662 1668
 #endif
1663 1669
 
1664 1670
 // Support for Adafruit Neopixel LED driver
1665
-//#define NEOPIXEL_RGBW_LED
1666
-#if ENABLED(NEOPIXEL_RGBW_LED)
1667
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1668
-  #define NEOPIXEL_PIXELS 3
1669
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1671
+//#define NEOPIXEL_LED
1672
+#if ENABLED(NEOPIXEL_LED)
1673
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1674
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1675
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1676
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1677
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1678
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1670 1679
 #endif
1671 1680
 
1672 1681
 /**

+ 14
- 5
Marlin/example_configurations/Velleman/K8200/Configuration.h View File

@@ -1623,16 +1623,22 @@
1623 1623
  * Adds the M150 command to set the LED (or LED strip) color.
1624 1624
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1625 1625
  * luminance values can be set from 0 to 255.
1626
+ * For Neopixel LED overall brightness parameters is also available 
1626 1627
  *
1627 1628
  * *** CAUTION ***
1628 1629
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1629 1630
  *  as the Arduino cannot handle the current the LEDs will require.
1630 1631
  *  Failure to follow this precaution can destroy your Arduino!
1632
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1633
+ *  cannot handle such current, separate 5V power supply must be used
1631 1634
  * *** CAUTION ***
1632 1635
  *
1636
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1637
+ *
1633 1638
  */
1634 1639
 //#define RGB_LED
1635 1640
 //#define RGBW_LED
1641
+
1636 1642
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1637 1643
   #define RGB_LED_R_PIN 34
1638 1644
   #define RGB_LED_G_PIN 43
@@ -1641,11 +1647,14 @@
1641 1647
 #endif
1642 1648
 
1643 1649
 // Support for Adafruit Neopixel LED driver
1644
-//#define NEOPIXEL_RGBW_LED
1645
-#if ENABLED(NEOPIXEL_RGBW_LED)
1646
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1647
-  #define NEOPIXEL_PIXELS 3
1648
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1650
+//#define NEOPIXEL_LED
1651
+#if ENABLED(NEOPIXEL_LED)
1652
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1653
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1654
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1655
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1656
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1657
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1649 1658
 #endif
1650 1659
 
1651 1660
 /**

+ 14
- 5
Marlin/example_configurations/Velleman/K8400/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**

+ 14
- 5
Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**

+ 14
- 5
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -1588,16 +1588,22 @@
1588 1588
  * Adds the M150 command to set the LED (or LED strip) color.
1589 1589
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1590 1590
  * luminance values can be set from 0 to 255.
1591
+ * For Neopixel LED overall brightness parameters is also available 
1591 1592
  *
1592 1593
  * *** CAUTION ***
1593 1594
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1594 1595
  *  as the Arduino cannot handle the current the LEDs will require.
1595 1596
  *  Failure to follow this precaution can destroy your Arduino!
1597
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1598
+ *  cannot handle such current, separate 5V power supply must be used
1596 1599
  * *** CAUTION ***
1597 1600
  *
1601
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1602
+ *
1598 1603
  */
1599 1604
 //#define RGB_LED
1600 1605
 //#define RGBW_LED
1606
+
1601 1607
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1602 1608
   #define RGB_LED_R_PIN 34
1603 1609
   #define RGB_LED_G_PIN 43
@@ -1606,11 +1612,14 @@
1606 1612
 #endif
1607 1613
 
1608 1614
 // Support for Adafruit Neopixel LED driver
1609
-//#define NEOPIXEL_RGBW_LED
1610
-#if ENABLED(NEOPIXEL_RGBW_LED)
1611
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1612
-  #define NEOPIXEL_PIXELS 3
1613
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1615
+//#define NEOPIXEL_LED
1616
+#if ENABLED(NEOPIXEL_LED)
1617
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1618
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1619
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1620
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1621
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1622
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1614 1623
 #endif
1615 1624
 
1616 1625
 /**

+ 14
- 5
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h View File

@@ -1716,16 +1716,22 @@
1716 1716
  * Adds the M150 command to set the LED (or LED strip) color.
1717 1717
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1718 1718
  * luminance values can be set from 0 to 255.
1719
+ * For Neopixel LED overall brightness parameters is also available 
1719 1720
  *
1720 1721
  * *** CAUTION ***
1721 1722
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1722 1723
  *  as the Arduino cannot handle the current the LEDs will require.
1723 1724
  *  Failure to follow this precaution can destroy your Arduino!
1725
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1726
+ *  cannot handle such current, separate 5V power supply must be used
1724 1727
  * *** CAUTION ***
1725 1728
  *
1729
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1730
+ *
1726 1731
  */
1727 1732
 //#define RGB_LED
1728 1733
 //#define RGBW_LED
1734
+
1729 1735
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1730 1736
   #define RGB_LED_R_PIN 34
1731 1737
   #define RGB_LED_G_PIN 43
@@ -1734,11 +1740,14 @@
1734 1740
 #endif
1735 1741
 
1736 1742
 // Support for Adafruit Neopixel LED driver
1737
-//#define NEOPIXEL_RGBW_LED
1738
-#if ENABLED(NEOPIXEL_RGBW_LED)
1739
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1740
-  #define NEOPIXEL_PIXELS 3
1741
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1743
+//#define NEOPIXEL_LED
1744
+#if ENABLED(NEOPIXEL_LED)
1745
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1746
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1747
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1748
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1749
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1750
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1742 1751
 #endif
1743 1752
 
1744 1753
 /**

+ 14
- 5
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h View File

@@ -1709,16 +1709,22 @@
1709 1709
  * Adds the M150 command to set the LED (or LED strip) color.
1710 1710
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1711 1711
  * luminance values can be set from 0 to 255.
1712
+ * For Neopixel LED overall brightness parameters is also available 
1712 1713
  *
1713 1714
  * *** CAUTION ***
1714 1715
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1715 1716
  *  as the Arduino cannot handle the current the LEDs will require.
1716 1717
  *  Failure to follow this precaution can destroy your Arduino!
1718
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1719
+ *  cannot handle such current, separate 5V power supply must be used
1717 1720
  * *** CAUTION ***
1718 1721
  *
1722
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1723
+ *
1719 1724
  */
1720 1725
 //#define RGB_LED
1721 1726
 //#define RGBW_LED
1727
+
1722 1728
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1723 1729
   #define RGB_LED_R_PIN 34
1724 1730
   #define RGB_LED_G_PIN 43
@@ -1727,11 +1733,14 @@
1727 1733
 #endif
1728 1734
 
1729 1735
 // Support for Adafruit Neopixel LED driver
1730
-//#define NEOPIXEL_RGBW_LED
1731
-#if ENABLED(NEOPIXEL_RGBW_LED)
1732
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1733
-  #define NEOPIXEL_PIXELS 3
1734
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1736
+//#define NEOPIXEL_LED
1737
+#if ENABLED(NEOPIXEL_LED)
1738
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1739
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1740
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1741
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1742
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1743
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1735 1744
 #endif
1736 1745
 
1737 1746
 /**

+ 14
- 5
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -1704,16 +1704,22 @@
1704 1704
  * Adds the M150 command to set the LED (or LED strip) color.
1705 1705
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1706 1706
  * luminance values can be set from 0 to 255.
1707
+ * For Neopixel LED overall brightness parameters is also available 
1707 1708
  *
1708 1709
  * *** CAUTION ***
1709 1710
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1710 1711
  *  as the Arduino cannot handle the current the LEDs will require.
1711 1712
  *  Failure to follow this precaution can destroy your Arduino!
1713
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1714
+ *  cannot handle such current, separate 5V power supply must be used
1712 1715
  * *** CAUTION ***
1713 1716
  *
1717
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1718
+ *
1714 1719
  */
1715 1720
 //#define RGB_LED
1716 1721
 //#define RGBW_LED
1722
+
1717 1723
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1718 1724
   #define RGB_LED_R_PIN 34
1719 1725
   #define RGB_LED_G_PIN 43
@@ -1722,11 +1728,14 @@
1722 1728
 #endif
1723 1729
 
1724 1730
 // Support for Adafruit Neopixel LED driver
1725
-//#define NEOPIXEL_RGBW_LED
1726
-#if ENABLED(NEOPIXEL_RGBW_LED)
1727
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1728
-  #define NEOPIXEL_PIXELS 3
1729
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1731
+//#define NEOPIXEL_LED
1732
+#if ENABLED(NEOPIXEL_LED)
1733
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1734
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1735
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1736
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1737
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1738
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1730 1739
 #endif
1731 1740
 
1732 1741
 /**

+ 14
- 5
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -1707,16 +1707,22 @@
1707 1707
  * Adds the M150 command to set the LED (or LED strip) color.
1708 1708
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1709 1709
  * luminance values can be set from 0 to 255.
1710
+ * For Neopixel LED overall brightness parameters is also available 
1710 1711
  *
1711 1712
  * *** CAUTION ***
1712 1713
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1713 1714
  *  as the Arduino cannot handle the current the LEDs will require.
1714 1715
  *  Failure to follow this precaution can destroy your Arduino!
1716
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1717
+ *  cannot handle such current, separate 5V power supply must be used
1715 1718
  * *** CAUTION ***
1716 1719
  *
1720
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1721
+ *
1717 1722
  */
1718 1723
 //#define RGB_LED
1719 1724
 //#define RGBW_LED
1725
+
1720 1726
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1721 1727
   #define RGB_LED_R_PIN 34
1722 1728
   #define RGB_LED_G_PIN 43
@@ -1725,11 +1731,14 @@
1725 1731
 #endif
1726 1732
 
1727 1733
 // Support for Adafruit Neopixel LED driver
1728
-//#define NEOPIXEL_RGBW_LED
1729
-#if ENABLED(NEOPIXEL_RGBW_LED)
1730
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1731
-  #define NEOPIXEL_PIXELS 3
1732
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1734
+//#define NEOPIXEL_LED
1735
+#if ENABLED(NEOPIXEL_LED)
1736
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1737
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1738
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1739
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1740
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1741
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1733 1742
 #endif
1734 1743
 
1735 1744
 /**

+ 14
- 5
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -1707,16 +1707,22 @@
1707 1707
  * Adds the M150 command to set the LED (or LED strip) color.
1708 1708
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1709 1709
  * luminance values can be set from 0 to 255.
1710
+ * For Neopixel LED overall brightness parameters is also available 
1710 1711
  *
1711 1712
  * *** CAUTION ***
1712 1713
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1713 1714
  *  as the Arduino cannot handle the current the LEDs will require.
1714 1715
  *  Failure to follow this precaution can destroy your Arduino!
1716
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1717
+ *  cannot handle such current, separate 5V power supply must be used
1715 1718
  * *** CAUTION ***
1716 1719
  *
1720
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1721
+ *
1717 1722
  */
1718 1723
 //#define RGB_LED
1719 1724
 //#define RGBW_LED
1725
+
1720 1726
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1721 1727
   #define RGB_LED_R_PIN 34
1722 1728
   #define RGB_LED_G_PIN 43
@@ -1725,11 +1731,14 @@
1725 1731
 #endif
1726 1732
 
1727 1733
 // Support for Adafruit Neopixel LED driver
1728
-//#define NEOPIXEL_RGBW_LED
1729
-#if ENABLED(NEOPIXEL_RGBW_LED)
1730
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1731
-  #define NEOPIXEL_PIXELS 3
1732
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1734
+//#define NEOPIXEL_LED
1735
+#if ENABLED(NEOPIXEL_LED)
1736
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1737
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1738
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1739
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1740
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1741
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1733 1742
 #endif
1734 1743
 
1735 1744
 /**

+ 14
- 5
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

@@ -1716,16 +1716,22 @@
1716 1716
  * Adds the M150 command to set the LED (or LED strip) color.
1717 1717
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1718 1718
  * luminance values can be set from 0 to 255.
1719
+ * For Neopixel LED overall brightness parameters is also available 
1719 1720
  *
1720 1721
  * *** CAUTION ***
1721 1722
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1722 1723
  *  as the Arduino cannot handle the current the LEDs will require.
1723 1724
  *  Failure to follow this precaution can destroy your Arduino!
1725
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1726
+ *  cannot handle such current, separate 5V power supply must be used
1724 1727
  * *** CAUTION ***
1725 1728
  *
1729
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1730
+ *
1726 1731
  */
1727 1732
 //#define RGB_LED
1728 1733
 //#define RGBW_LED
1734
+
1729 1735
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1730 1736
   #define RGB_LED_R_PIN 34
1731 1737
   #define RGB_LED_G_PIN 43
@@ -1734,11 +1740,14 @@
1734 1740
 #endif
1735 1741
 
1736 1742
 // Support for Adafruit Neopixel LED driver
1737
-//#define NEOPIXEL_RGBW_LED
1738
-#if ENABLED(NEOPIXEL_RGBW_LED)
1739
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1740
-  #define NEOPIXEL_PIXELS 3
1741
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1743
+//#define NEOPIXEL_LED
1744
+#if ENABLED(NEOPIXEL_LED)
1745
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1746
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1747
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1748
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1749
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1750
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1742 1751
 #endif
1743 1752
 
1744 1753
 /**

+ 14
- 5
Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h View File

@@ -1602,16 +1602,22 @@
1602 1602
  * Adds the M150 command to set the LED (or LED strip) color.
1603 1603
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1604 1604
  * luminance values can be set from 0 to 255.
1605
+ * For Neopixel LED overall brightness parameters is also available 
1605 1606
  *
1606 1607
  * *** CAUTION ***
1607 1608
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1608 1609
  *  as the Arduino cannot handle the current the LEDs will require.
1609 1610
  *  Failure to follow this precaution can destroy your Arduino!
1611
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1612
+ *  cannot handle such current, separate 5V power supply must be used
1610 1613
  * *** CAUTION ***
1611 1614
  *
1615
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1616
+ *
1612 1617
  */
1613 1618
 //#define RGB_LED
1614 1619
 //#define RGBW_LED
1620
+
1615 1621
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1616 1622
   #define RGB_LED_R_PIN 34
1617 1623
   #define RGB_LED_G_PIN 43
@@ -1620,11 +1626,14 @@
1620 1626
 #endif
1621 1627
 
1622 1628
 // Support for Adafruit Neopixel LED driver
1623
-//#define NEOPIXEL_RGBW_LED
1624
-#if ENABLED(NEOPIXEL_RGBW_LED)
1625
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1626
-  #define NEOPIXEL_PIXELS 3
1627
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1629
+//#define NEOPIXEL_LED
1630
+#if ENABLED(NEOPIXEL_LED)
1631
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1632
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1633
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1634
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1635
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1636
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1628 1637
 #endif
1629 1638
 
1630 1639
 /**

+ 14
- 5
Marlin/example_configurations/makibox/Configuration.h View File

@@ -1591,16 +1591,22 @@
1591 1591
  * Adds the M150 command to set the LED (or LED strip) color.
1592 1592
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1593 1593
  * luminance values can be set from 0 to 255.
1594
+ * For Neopixel LED overall brightness parameters is also available 
1594 1595
  *
1595 1596
  * *** CAUTION ***
1596 1597
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1597 1598
  *  as the Arduino cannot handle the current the LEDs will require.
1598 1599
  *  Failure to follow this precaution can destroy your Arduino!
1600
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1601
+ *  cannot handle such current, separate 5V power supply must be used
1599 1602
  * *** CAUTION ***
1600 1603
  *
1604
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1605
+ *
1601 1606
  */
1602 1607
 //#define RGB_LED
1603 1608
 //#define RGBW_LED
1609
+
1604 1610
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1605 1611
   #define RGB_LED_R_PIN 34
1606 1612
   #define RGB_LED_G_PIN 43
@@ -1609,11 +1615,14 @@
1609 1615
 #endif
1610 1616
 
1611 1617
 // Support for Adafruit Neopixel LED driver
1612
-//#define NEOPIXEL_RGBW_LED
1613
-#if ENABLED(NEOPIXEL_RGBW_LED)
1614
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1615
-  #define NEOPIXEL_PIXELS 3
1616
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1618
+//#define NEOPIXEL_LED
1619
+#if ENABLED(NEOPIXEL_LED)
1620
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1621
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1622
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1623
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1624
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1625
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1617 1626
 #endif
1618 1627
 
1619 1628
 /**

+ 14
- 5
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -1583,16 +1583,22 @@
1583 1583
  * Adds the M150 command to set the LED (or LED strip) color.
1584 1584
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1585 1585
  * luminance values can be set from 0 to 255.
1586
+ * For Neopixel LED overall brightness parameters is also available 
1586 1587
  *
1587 1588
  * *** CAUTION ***
1588 1589
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1589 1590
  *  as the Arduino cannot handle the current the LEDs will require.
1590 1591
  *  Failure to follow this precaution can destroy your Arduino!
1592
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1593
+ *  cannot handle such current, separate 5V power supply must be used
1591 1594
  * *** CAUTION ***
1592 1595
  *
1596
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1597
+ *
1593 1598
  */
1594 1599
 //#define RGB_LED
1595 1600
 //#define RGBW_LED
1601
+
1596 1602
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1597 1603
   #define RGB_LED_R_PIN 34
1598 1604
   #define RGB_LED_G_PIN 43
@@ -1601,11 +1607,14 @@
1601 1607
 #endif
1602 1608
 
1603 1609
 // Support for Adafruit Neopixel LED driver
1604
-//#define NEOPIXEL_RGBW_LED
1605
-#if ENABLED(NEOPIXEL_RGBW_LED)
1606
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1607
-  #define NEOPIXEL_PIXELS 3
1608
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1610
+//#define NEOPIXEL_LED
1611
+#if ENABLED(NEOPIXEL_LED)
1612
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1613
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1614
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1615
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1616
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1617
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1609 1618
 #endif
1610 1619
 
1611 1620
 /**

+ 14
- 5
Marlin/example_configurations/wt150/Configuration.h View File

@@ -1593,16 +1593,22 @@
1593 1593
  * Adds the M150 command to set the LED (or LED strip) color.
1594 1594
  * If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
1595 1595
  * luminance values can be set from 0 to 255.
1596
+ * For Neopixel LED overall brightness parameters is also available 
1596 1597
  *
1597 1598
  * *** CAUTION ***
1598 1599
  *  LED Strips require a MOFSET Chip between PWM lines and LEDs,
1599 1600
  *  as the Arduino cannot handle the current the LEDs will require.
1600 1601
  *  Failure to follow this precaution can destroy your Arduino!
1602
+ *  The Neopixel LED is 5V powered, but linear 5V regulator on Arduino
1603
+ *  cannot handle such current, separate 5V power supply must be used
1601 1604
  * *** CAUTION ***
1602 1605
  *
1606
+ * LED type. This options are mutualy exclusive. Uncomment only one.
1607
+ *
1603 1608
  */
1604 1609
 //#define RGB_LED
1605 1610
 //#define RGBW_LED
1611
+
1606 1612
 #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
1607 1613
   #define RGB_LED_R_PIN 34
1608 1614
   #define RGB_LED_G_PIN 43
@@ -1611,11 +1617,14 @@
1611 1617
 #endif
1612 1618
 
1613 1619
 // Support for Adafruit Neopixel LED driver
1614
-//#define NEOPIXEL_RGBW_LED
1615
-#if ENABLED(NEOPIXEL_RGBW_LED)
1616
-  #define NEOPIXEL_PIN    4       // D4 (EXP2-5 on Printrboard)
1617
-  #define NEOPIXEL_PIXELS 3
1618
-  //#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
1620
+//#define NEOPIXEL_LED
1621
+#if ENABLED(NEOPIXEL_LED)
1622
+  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (definned in Adafruit_NeoPixel.h)
1623
+  #define NEOPIXEL_PIN    4        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
1624
+  #define NEOPIXEL_PIXELS 30       // Number of LEDs on strip
1625
+  #define NEOPIXEL_IS_SEQUENTIAL   // Sequent display for temperature change - LED by LED. Comment out for change all LED at time
1626
+  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness 0-255
1627
+  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
1619 1628
 #endif
1620 1629
 
1621 1630
 /**

Loading…
Cancel
Save