Sounds good; faster is better. Which pins? In pins_adruino.h for the feather_esp32:// Hardware SPI is a little faster, but must be wired to specific pins
// (Arduino Uno = pin 11 for data, 13 for clock, other boards are different).
//Adafruit_DotStar strip(NUMPIXELS, DOTSTAR_BGR);
...matches the silkscreen on the Feather.static const uint8_t SS = 33;
static const uint8_t MOSI = 18;
static const uint8_t MISO = 19;
static const uint8_t SCK = 5;
I connected the DotStar strip to pins 5 (SCK), 18 (MO) and modified strandtest.ino:
Code: Select all
#define DATAPIN 18
#define CLOCKPIN 5
Adafruit_DotStar strip(NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BGR);
Code: Select all
Adafruit_DotStar strip(NUMPIXELS, DOTSTAR_BGR);
I guess I'm missing something? How do you get hardware SPI to work?