Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-04-06 14:27:38 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-04-06 14:27:38 +0300
commit2913827918906d64e94df5b5790ace11046c0c97 (patch)
treeb02c5f892e8430d85e17db0f4a04bda24d7b0f53 /src/DuetNG
parentba9a9cb6aa1d385370ee8052e76f1babd328b7ac (diff)
Support bit-banged Neopixel LCD strips on Duet 2
Also added support for bit banged RGBW Neopixel strips
Diffstat (limited to 'src/DuetNG')
-rw-r--r--src/DuetNG/Pins_DuetNG.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DuetNG/Pins_DuetNG.h b/src/DuetNG/Pins_DuetNG.h
index 45c49309..ff3d744b 100644
--- a/src/DuetNG/Pins_DuetNG.h
+++ b/src/DuetNG/Pins_DuetNG.h
@@ -77,6 +77,7 @@ constexpr uint32_t IAP_IMAGE_START = 0x20018000; // IAP is loaded into the last
#define SUPPORT_12864_LCD 1 // set nonzero to support 12864 LCD and rotary encoder
#define SUPPORT_ACCELEROMETERS 1
#define SUPPORT_OBJECT_MODEL 1
+#define SUPPORT_LED_STRIPS 1
#define VARIABLE_NUM_DRIVERS SUPPORT_12864_LCD // nonzero means that some pins may only support drivers if not used for other purposes e.g. LCD
@@ -239,7 +240,7 @@ constexpr uint32_t LcdSpiClockFrequency = 2000000; // 2.0MHz
constexpr Pin EncoderPinB = PortCPin(7); // connlcd.3 -> exp2.6
constexpr Pin EncoderPinA = PortAPin(8); // connlcd.4 -> exp2.8
-constexpr Pin LcdNeopixelPin = PortDPin(18); // connlcd.5 -> exp1.5
+constexpr Pin LcdNeopixelOutPin = PortDPin(18); // connlcd.5 -> exp1.5
constexpr Pin LcdResetPin = PortCPin(28); // connlcd.6 -> exp1.6
constexpr Pin LcdA0Pin = PortDPin(19); // connlcd.7 -> exp1.7
constexpr Pin LcdCSPin = PortAPin(25); // connlcd.8 -> exp1.8