Newbie FastLEDer here…Up front…
My question is how do I know I am using hardware SPI?
I started with adafruit dotstar library and want to graduate up to Fast LED.
I have demo Reel 100 working on a nodemcu12E.
These FastLED Example files have a line to uncomment that does not input pins as arguments and my read of the documentation is that is when you are using hardware SPI. As I have sketched running from dotsar library on my strip and its wired up for that I tried to go that way.
The examples won’t compile and insist I use one of the lines which inputs pins.
So I do that and add pins in folloiwng code and the demo runs on my strip.
My question is how do I know I am using hardware SPI?
Code snippet below:
#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
#include “FastLED.h”
FASTLED_USING_NAMESPACE
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000)
#warning “Requires FastLED 3.1 or later; check github for latest code.”
#endif
#define DATA_PIN 7
#define CLK_PIN 5
#define LED_TYPE APA102
#define COLOR_ORDER GRB
#define NUM_LEDS 240
CRGB leds[NUM_LEDS];
#define BRIGHTNESS 96
#define FRAMES_PER_SECOND 120
void setup() {
delay(3000); // 3 second delay for recovery
FastLED.addLeds<LED_TYPE,DATA_PIN,CLK_PIN,COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip);