-
Notifications
You must be signed in to change notification settings - Fork 0
LEDs
The controller is compatible with FastLED and with a single channel LED strip. To support a single channel LED strip, you will have to power the D1 Mini from a 12v source. My custom PCB has a jumper that allows the ability to run the shade from 12v or 5v. (Via a sufficient USB power supply.) With the jumper open, 12v can be used to power the LEDs and motor. A 5v regulator must be used to power the D1 Mini.
Edit the following in config.h
#define lightMode = 1 - 1:For FastLED
int ledButtonBrightness = 50 - Brightness that the hardware button will turn on and off
#define NUM_LEDS - Number of LEDs
#define DATA_PIN - Pin used for LED control
#define LED_TYPE - Your flavor of LED
#define COLOR_ORDER - Your LED's color order
When using a PWM controlled LED strip a pulldown resistor can be connect from "D" to "-" on J2.